Java Reference
In-Depth Information
4.2.3 Package a Java Library
In order to run a build from a command line, JAVA_HOME and ANT_HOME variables
need to be defined. Make sure to include $JAVA_HOME/bin or %JAVA_HOME%\bin in
the PATH variable. JAVA_HOME should be pointed to the installed JDK. We've developed
and tested with JDK 1.6. The Ant build script was of version 1.7.1.
This build.xml build script by default runs from the root of the project data-svc directory.
The classes are stored in the bin directory, while the Java library data-svc.jar will be stored
in the dist directory. A clean build command will remove both directories. Thus, two build
commands should be used:
Ant dist (or simply ant)
Ant clean
Search WWH ::




Custom Search