Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.2.6 Beta
-
None
-
Operating System: Windows XP
Platform: PC
-
33989
Description
Environment: jdk1.5, cygwin
Normally, the builds is so nice to get the required jars automatically:
<<...
Adding reference: compile.classpath
[ant] Entering C:\Documents and Settings\RalfCHauser\My
Documents\psph\workspace\struts\build-tests.xml...
Build sequence for target(s) `test.tomcat.40' is [init, prepare.test,
compile.test, prepare.test.war, prepare.test.tomca
t.40, test.tomcat.40]
Complete build sequence is [init, prepare.test, compile.test, prepare.test.war,
prepare.test.tomcat.40, test.tomcat.40,
stop.tomcat.50, prepare.test.tomcat.32, test.tomcat.32, prepare.test.tomcat.50,
start.tomcat.41, start.tomcat.40, stop.t
omcat.33, stop.tomcat.32, prepare.test.tomcat.41, test.tomcat.41,
prepare.test.tomcat.33, run.test, start.tomcat.50, sto
p.tomcat.41, stop.tomcat.40, test.tomcat.50, test.junit, start.tomcat.33,
start.tomcat.32, , test.tomcat.33]
init:
dropping C:\opt\Apache\jakarta-cactus-13-1.4.1\lib\cactus-ant-1.4.1.jar from
path as it doesn't exist
Finding class org.apache.cactus.ant.RunServerTestsTask
[taskdef] C:\Documents and Settings\RalfCHauser\My
Documents\psph\workspace\struts\build-tests.xml:129: , taskdef clas
s org.apache.cactus.ant.RunServerTestsTask cannot be found, task name runservertests
[ant] Exiting C:\Documents and Settings\RalfCHauser\My
Documents\psph\workspace\struts\build-tests.xml.>>
When configuring the build.properties to use the latest
(integration/ant/dist-13/lib/) cactus-ant-1.8dev.jar, it appears that in
build-test.xml,
<target name="init">
<taskdef name="runservertests"
classname="org.apache.cactus.integration.ant.RunServerTestsTask">
the path no longer is org.apache.cactus.ant.RunServerTestsTask.
also, this adds a dependency on commons-logging.jar, so that classpath in the
same init target also needs
<pathelement location="${commons-logging.jar}"/>
also, got many more errors for jar files not present in the /opt tree, it would
be great if those were automatically downloaded like in cactus.