----- Original Message -----
From: "Jim Cheesman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 17, 2001 11:31 AM
Subject: Building Cactus
> What's the reasoning behind defining the location of junit.jar and
> httpunit.jar in build.properties?
See the doc at the top of the build.xml file and build-servletapi.xml files.
For example for build.xml, it says :
" junit.jar [REQUIRED] The path to the JUnit jar file.
Required for compiling Cactus classes.
httpunit.jar [REQUIRED] The path to the HttpUnit jar file.
Required for compiling and running the unit
tests (used in build-servletapi.xml).
"
For JUnit, the ant junit taks should be in the %ANT_HOME%/lib and thus
junit.jar too so when the build.xml executes, the junit jar should already
be in the classpath. Strictly speaking we don't need to mention it in
build.properties. However, we need it to compile the test classes and also
to copy it in the sample war file.
For httpunit, we need it to compile some test classes.
> From what I can see they are only used in
> defining the classpath element of the javadoc task in build-servletapi.xml
> - can't they be picked up from %JAVA_HOME%/jre/lib/ext?
>
don't forget that build.xml calls build-servletapi.xml, which in turn calls
build.xml from the sample application ! :)
Thanks
-Vincent