Also, make sure CC is using the ant install that you have dropped the
jera jar in.
Typically, CC comes with its own version of ant - and to use a different
install directory of ant, you have to pass in some parameters or set a
system environment variable. (Cant remember what they are offhand).
hth,
Vijay
Loehr, Ruel wrote:
Before declaring your taskdef echo the classpath you are using and post
it.
Google "ant print classpath" for instructions.
-----Original Message-----
From: david [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 25, 2007 10:43 AM
To: user@ant.apache.org
Subject: Ant build vs. CruiseControl
Hello Steve, dev, committers, gurus and users, a few weeks ago I read an
email from Steve in the response to another user's email: Steve listed
CruiseControl as one of the better OSS (free) softwares to manage a
project under CVS and Ant. I have downloaded and built so-called CC and
now it dutifully attempts to build my project. Problem: my project uses
the Jera Ant Task jar to allow hidden input of a password. At the
command-line the Ant build works as always. Under CC the build fails
with the following exception:
[cc]Oct-25 09:58:16 ScriptRunner - xmls\taskdefs.xml:2: taskdef class
com.jera.anttasks.Query cannot be found
The JeraAntTasks.jar is in the ANT_HOME/lib directory and elsewhere but
Ant cannot find this jar regardless. I have included the Jera jar in the
CLASSPATH and in the cruisecontrol.bat as a property but no change in
the CC build exception reporting as stated above. All of the CC ML
replies so far claim Ant as the culprit. The particulars follow. Thanks
in advance and please advise, David.
OS: Windows XP
Ant: 1.7.0
CC: 2.7.1
JDK: 1.4
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]