Deletions:
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>
============
======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>
============