JBoss.orgCommunity Documentation
You must have one of the following JDKs installed in order to build the project:
Sun JDK 1.6.x
Sun JDK 1.7.x
Remember to ensure that "javac" and "java" are in your path (or symlinked).
JAVA_HOME=/location/to/javahome export JAVA_HOME PATH=$JAVA_HOME/bin:$PATH export PATH
You must have Apache Ant 1.8.2+ installed on your system.
Remember to ensure that "ant" are in your path (or symlinked).
ANT_HOME=/location/to/anthome export ANT_HOME PATH=$ANT_HOME/bin:$PATH export PATH
You may need to set the memory settings for the Apache Ant process like
ANT_OPTS="$ANT_OPTS -Xms128m -Xmx512m -XX:MaxPermSize=256m" export ANT_OPTS
The IronJacamar project uses Apache Ivy for dependency management.
Apache Ivy is automatically downloaded and included in the development environment, so no additional setup is required.
The anonymous SVN repository is located under:
svn co http://anonsvn.jboss.org/repos/jbossas/projects/jboss-jca/trunk/ ironjacamar-trunk
The developer SVN repository is located under:
svn co https://svn.jboss.org/repos/jbossas/projects/jboss-jca/trunk/ ironjacamar-trunk
In order to build the IronJacamar project you execute:
ant <target>
where target is one of
jars
Builds the JAR archives in the distribution.
test
Builds the JAR archives in the distribution and runs all the test cases.
module-test
Builds the JAR archives in the distribution and runs all the test cases for the specified
module (-Dmodule=<modulename>
).
one-test
Builds the JAR archives in the distribution and runs the specified test case
(-Dmodule=<modulename> -Dtest=<classname>
).
docs
Builds the API documentation for the project.
sjc
Builds the standalone environment using IronJacamar/SJC.
release
Builds a release of the project.
clean
Cleans the project of temporary files.
clean-cache
Cleans the Apache Ivy repository.
See the full list of targets in the main build.xml file.
An example to get the IronJacamar/SJC built and running:
ant clean sjc cd target/sjc/bin ./run.sh