buildProcess - <ANT_DIR> is the...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Instructions for Building JHotDraw A simple build configuration file for Ant has been included, which can be used to compile all standard JHotDraw classes, to packagethem into a jar file and to generate javadoc information. The command tostart the build process could look like (when invoked in the <JHOTDRAW_DIR> \build directory) java -classpath "%CLASSPATH %;<ANT_DIR>\lib\ant.jar;<ANT_DIR>\lib\jaxp.jar;<ANT_DIR>\lib\parser.jar" -Djava.home="<JAVA_DIR>" -Dant.home="<ANT_DIR>" all -Ddest.dir="<JHOTDRAW_DIR>" -buildfile build.xml where <JHOTDRAW_DIR> is the directory path to the JHotDraw package,
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: &lt;ANT_DIR&gt; is the directory path to the Ant installation, &lt;JAVA_DIR&gt; is the directory path to the Java installation. . Apart of calling with the parameter all you can specify one of the following building targets: clean- to delete all class files first main- to compile, copy resources and build the jar file jar- to build the jar file compile- to compile only javadoc- to generate javadoc all- to clean, compile and javadoc Furthermore, Ant can be generate debug code when the switch -Djavac.debug=on is provided....
View Full Document

This note was uploaded on 09/21/2009 for the course CS cs taught by Professor Cs during the Spring '09 term at University of the Bío-Bío.

Ask a homework question - tutors are online