Hi, i had similar problems when running CruiseControl.
I used a standalone ant version, not that which is shipped within CruiseControl. I like to keep extra tasks separated from my core ant installation. Here's a part of my ant.bat (path\to\ant\bin\ant.bat) = set PATH=%PATH%;C:\Programme\JavaSoft\JDK\j2sdk1.4.2_05\bin;C:\cvsnt set JAVA_HOME=C:\Programme\JavaSoft\JDK\j2sdk1.4.2_05 set ANT_OPTS=-Xms128M -Xmx512M set ANT_ARGS=-lib c:\ant_extralibs Just use ANT_ARGS like i did and point it to your directory containing all the jars you need. Regards, Gilbert -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, December 23, 2005 11:15 AM To: Ant Users Subject: JDepend task I have the recurrent problem with Cruisecontrol. The admins have block the addition of any file (jars) to the ${ANT_HOME}/lib directory I do not know how I can add JDepend to my classpath ... ? <snip> - The task needs an external JAR file to execute and this is not found at the right place in the classpath. </snip> Typically, I dunno how I can tell ANT that it should add a few jar to its run CLASSPATH without doing so by adding the jar to the ${ANT_HOME}/lib --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]