From: Wolfgang M. <wol...@ex...> - 2012-10-05 08:30:38
|
Claudius, .xar files are ordinary zip files and I usually create them from ant. The xar needs to have three descriptors: expath-pkg.xml, repo.xml and exist.xml. Copy the first two from another app (or generate one via eXide). exist.xml lists the jars, e.g. as follows: <package xmlns="http://exist-db.org/ns/expath-pkg"> <jar>math-0.1.jar</jar> <java> <namespace>http://exist-db.org/xquery/math</namespace> <class>org.exist.xquery.modules.math.MathModule</class> </java> </package> Any jar files should be put into a directory having the same name as the abbreviated name of the project (see abbrev in expath-pkg.xml). eXist-db will pick up those jars without requiring a restart. Wolfgang |