{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

buildProcess - <ANT_DIR> is the directory path to 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>" org.apache.tools.ant.Main 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: <ANT_DIR> is the directory path to the Ant installation, <JAVA_DIR> is the directory path to the Java installation. . Apart of calling org.apache.tools.ant.Main 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

{[ snackBarMessage ]}

Ask a homework question - tutors are online