Re: Ant 1.6 and JUnit - NoClassDefFoundError

2004-01-07 Thread Stefan Bodewig
On Wed, 7 Jan 2004, Keith Hatton <[EMAIL PROTECTED]> wrote: > The only changes to the standard installation is that I've copied > junit.jar and xalan.jar into ANT_HOME/lib (which I did for Ant 1.5) > - prior to this the build complained that it couldn't find JUnit > classes. You are forking junit

RE: Ant 1.6 and JUnit - NoClassDefFoundError

2004-01-07 Thread Keith Hatton
Hi Tanguy, Removing xalan.jar makes no difference (except that I suspect other tasks might fail later on). I am wondering whether the problem arises because I am using JDK 1.3 which does not include the org.w3c.dom classes, and the xmlApis.jar or similar is not included in the classpath for the

CvsTagFilter (related to CruiseControl)

2004-01-07 Thread David Harrigan
Hi! I've written a small custom filterreader that does the following job: Working with CruiseControl and Ant, cruise passes in a property called label that can be used in the cvs task to label your repository. If you're working on the head this is quite cool, so for example, you will have a "bu

Re: Ant 1.6 and JUnit - NoClassDefFoundError

2004-01-07 Thread RADEMAKERS Tanguy
Hello Keith, I don't *think* you need xalan.jar in the ANT_HOME/lib any more - have you tried removing it? There are some other jars in there that might conflict... here's my test: C:\TanguyLand>echo %JAVA_HOME% C:\j2sdk1.4.2_01 C:\TanguyLand>echo %CLASSPATH% %CLASSPATH% <- i.e. no classpath C:

Re: using javac to buils classes files to run under java 1.2.2

2004-01-07 Thread Antoine Lévy-Lambert
Eric Wood wrote: I'm confused by the use of the compiler and target attributes for the javac task. I'm running ant using java 1.4.1 but need to compile my classes to run under java 1.2.2. Do I only have to use the compiler="classic" attribute or do I have to use target="1.2" as well? Can somebod

Re: Urgent Please !!!!!

2004-01-07 Thread Fabien Broillet
I have the path in the classpath for rt.jar in the config ot the Eclipse !! Fabien Broillet CP 13 1782 Belfaux mobile : 079 / 209.69.40 - Original Message - From: "Conelly, Luis (PS, GNF, Contractor)" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Wednesday, January 07

Ant 1.6 and JUnit - NoClassDefFoundError

2004-01-07 Thread Keith Hatton
I'm just taking a look at Ant 1.6 and I'm having a problem with a build file that works fine in 1.5.3. java -version gives 1.3.1 ant -version gives 1.6 The only changes to the standard installation is that I've copied junit.jar and xalan.jar into ANT_HOME/lib (which I did for Ant 1.5) - prior t

RE: Urgent Please !!!!!

2004-01-07 Thread Conelly, Luis (PS, GNF, Contractor)
Fabien Seems like your JAVA_HOME is not pointing to your JDK directory. Also, check your classpath. Maybe you are not including the rt.jar in the classpath you're using for Eclipse / Ant. Regards -Luis -Original Message- From: Fabien Broillet [mailto:[EMAIL PROT

Fw: Urgent Please !!!!!

2004-01-07 Thread Fabien Broillet
RE: Urgent Please !Yes, thank you !!! But I have an other error . and I don't understand this error, because my path is right !! compile: [javac] Compiling 4 source files to C:\RadioWeb\build [javac] BUILD FAILED: file:C:/RadioWeb/build.xml:38: Unable to find a javac compiler; com.sun