Has Ant changed anything recently (i.e. on the 18th) regarding taskdef and
nested classpath ?
The Cactus build was working perfectly on the 17th and stopped working today
...
>From the console output below, it seems that it fails when it reaches the
following code :
<taskdef name="argsList"
classname="org.apache.commons.cactus.ant.ArgListTask">
<classpath>
<pathelement location="${final.jar.ant.name}"/>
<pathelement path="${java.class.path}"/>
</classpath>
</taskdef>
where ${final.jar.ant.name} is the name of a jar which contains the
ArgListTask class.
Is there a new way of doing it in Ant 1.4 that has broken backward
compatibility ?
Thanks
-Vincent
----- Original Message -----
From: "Ted Husted" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, August 18, 2001 11:19 AM
Subject: [GUMP] Build Failure - cactus-22
> ----------------------------------------------------
> This email is autogenerated from the output from:
> <http://jakarta.apache.org/builds/gump/2001-08-18/commons-cactus-22.html>
> ----------------------------------------------------
>
> Buildfile: build/build.xml
>
> init:
> [echo] --------- Cactus 1.2 ---------
> [echo]
> [echo] java.class.path =
.:/usr/java/jdk1.3.1/lib/tools.jar:/usr/java/jdk1.3.1/jre/lib/rt.jar:/home/r
ubys/jakarta/jakarta-commons/cactus/out/servlet22/classes/:/home/rubys/jakar
ta/jakarta-commons/cactus/out/classes/:/home/rubys/jakarta/jakarta-ant/dist/
lib/ant.jar:/home/rubys/jakarta/jakarta-ant/dist/lib/optional.jar:/home/ruby
s/jakarta/xml-xerces/java/build/xerces.jar:/home/rubys/jakarta/xml-stylebook
/bin/stylebook-1.0-b3_xalan-2.jar:/home/rubys/jakarta/xml-xalan/java/build/x
alan.jar:/home/rubys/jakarta/dist/servletapi/lib/servlet.jar:/home/rubys/jak
arta/dist/junit/junit.jar:/home/rubys/jakarta/jakarta-log4j/dist/lib/log4j-c
ore.jar:/home/rubys/jakarta/jakarta-log4j/dist/lib/log4j.jar:/home/rubys/jak
arta/httpunit/lib/httpunit.jar
> [echo]
> [echo] java.home = /usr/java/jdk1.3.1/jre
> [echo] user.home = /home/rubys
> [echo] ant.home = ${ant.home}
> [echo]
>
> check_servlet22:
>
> check_servlet23:
> [echo]
> [echo] *********************************************************
> [echo] WARNING : The 'servlet23.jar' property has not been set.
> [echo] No output will be generated for Servlet API 2.3
> [echo] *********************************************************
> [echo]
>
> clean:
>
> jar.ant:
> [mkdir] Created dir:
/home/rubys/jakarta/jakarta-commons/cactus/target/src
> [mkdir] Created dir:
/home/rubys/jakarta/jakarta-commons/cactus/target/classes
> [mkdir] Created dir:
/home/rubys/jakarta/jakarta-commons/cactus/target/conf
> [copy] Copying 12 files to
/home/rubys/jakarta/jakarta-commons/cactus/target/src
> [javac] Compiling 12 source files to
/home/rubys/jakarta/jakarta-commons/cactus/target/classes
> [copy] Copying 1 file to
/home/rubys/jakarta/jakarta-commons/cactus/target/conf
> [jar] Building jar:
/home/rubys/jakarta/jakarta-commons/cactus/target/commons-cactus-ant.jar
>
> jar.22:
>
> init:
> [echo] --------- Cactus 1.2 for Servlet API 22 ---------
> [echo]
> [echo] servlet.api = 22
>
> BUILD FAILED
>
> taskdef class org.apache.commons.cactus.ant.ArgListTask cannot be found
>
> Total time: 13 seconds
>