Building JaxMe

The build process is based on Ant and some other JAR files from open source projects, as described below.

Before compiling JaxMe, you have to extract the JaxMe source distribution. In the root directory, you'll find a file called build.xml .

You need to create a subdirectory called prerequisites and store the following files in this subdirectory:
 
File name(s) Source
crimson.jar Crimson 1.1.3  (http://xml.apache.org/crimson/) 
hsqldb.jar
jboss-j2ee.jar
jboss-jdbc_ext.jar
log4j.jar
JBoss 2.4.4  (http://www.jboss.org/)
junit.jar JUnit 3.7  (http://www.junit.org/)

You also have to download and extract the distribution of Ant 1.4.1 ( http://jakarta.apache.org/ant/) . In the following examples, we assume that Ant is extracted into C:\Prg\jakarta-ant-1.4.1.

Finally you have to set the environment variable JAVA_HOME, for example:

        set JAVA_HOME=C:\Prg\JDK-1.3.1
To compile and test JaxMe, type:
        C:\Prg\jakarta-ant-1.4.1\bin\ant clean all test
The created files can be found in the dist directory. To create a source distribution, type the following:
        C:\Prg\jakarta-ant-1.4.1\bin\ant dist disttest
NEXT  PREVIOUS    TABLE OF CONTENTS