Revision [1701]

Last edited on 2011-04-22 18:19:14 by DavidLee
Deletions:
// stdout.close();


Revision [1700]

Edited on 2011-04-22 18:18:42 by DavidLee
Additions:
Compiled java commands or functions are classes which derive from org.xmlsh.core.XCommand (for commands) or implements the interface ""org.xmlsh.core.IFunction"" for functions. You may derive from the abstract class ""org.xmlsh.core.BuiltinFunctionCommand"" instead of creating your own base class for functions.
======Creating the module.xml======
To describe the extension module you must supply a module.xml file. This file coresponds to the module schema.
An example of a module.xml file from the MarkLogic extension module is as follows
%%(xml)
<module
module_version="10"
name="marklogic"
package="org.xmlsh.marklogic"
require="1.1.2"
>
<classpath>
<file url="marklogic_ext.jar"/>
<file url="xcc.jar"/>
</classpath>
</module>
============
Deletions:
Compiled java commands or functions are classes which derive from org.xmlsh.core.XCommand (for commands) or implements the interface org.xmlsh.core.IFunction for functions. You may derive from the abstract class org.xmlsh.core.BuiltinFunctionCommand instead of creating your own base class for functions.


Revision [1699]

The oldest known version of this page was created on 2011-04-22 18:16:19 by DavidLee
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki