-
-
Notifications
You must be signed in to change notification settings - Fork 7
Build
Dannes Wessels edited this page Dec 8, 2013
·
12 revisions
- have ANT and GIT installed
- edit the build.properties and configure the EXIST_HOME location. The directory must contain a compiled instance of eXist-db.
# clone from github
git clone git@github.com:eXist-db/messaging-replication.git
# download ivy dependency manager
ant setup
# download dependancies, build jar
# create two xar files
ant
The extension can be installed in two different ways (use one only!):
- upload the generated XAR files into eXist-db using the 'Package Manager'
- install all required jar using Ant:
# install all jars into EXIST_HOME
ant install
Note: for the replication feature only the second route can be used.
ant -projecthelp
Buildfile: ....../messaging-replication/build.xml
Build descriptor for the messaging-replication extension of eXist-db
Main targets:
clean Clean up all generated files
clean-all Reset to clean state
compile Compile java sources
download Download 3d party JAR files
install Install jar files into ${exist.dir}/lib/extensions
jar Create JAR file
prepare Create empty directories
setup Download the Ivy dependency manager
xar Create XAR files
Default target: xar