Can't Run JUnits With ANT 1.6

2004-01-05 Thread Hohlen, John C
I'm currently migrating from ANT 1.5.4 to ANT 1.6. However, whenever I try to run the JUnit task, I'm encountering a "VerifyError". More specifically: [junit] java.lang.VerifyError: (class: org/apache/tools/ant/taskdefs/optional/junit/FormatterEle ment, method: shouldUse signature: (Lorg/a

Re: - what is it?

2004-01-05 Thread RADEMAKERS Tanguy
DevKon, 1) if your example is the one from "using ant" then it's just a snippet and there isn't enough context to see what ${classpath} refers to. Basically, some variable defined elsewhere is the correct (but not very helpful) answer - but ${classpath} itself has no magic value. 2) ${classpat

Parameter passed to target

2004-01-05 Thread Aleksander Rozman
Hi ! I am having weird request. I would like to pass a parameter to specific task. How can I do that? I tried to create and then redefine it later, so that target can use it, but this doesn't work... Is there any simple sollution? Is there possibility to change property later? How? I tried by

Re: << Problems with mkdir & delete in Windows XP >>

2004-01-05 Thread RADEMAKERS Tanguy
Hello Camps, Are you calling the "init" target from the command line (ie "D:\CAMPS\FORTRAN\UFSCar\Equations>ant init")? If not then it won't do anything, unless you specify that init is the default target () Regs, /t Ihosvany Camps Rodriguez wrote: Hello all, I am a beginner with Ant. My sys

Re: whitespace for javac task

2004-01-05 Thread Peter Reilly
It is more (much more) likely to be a bug with java - exec for windows. It has problems with quoting/not quoting for windows crazy CreateProcess cmd parameter. This raises differences between unix and windows view of paramaters in java.lang.Runtime#exec(). Removal of the fork attribute should work

Re: whitespace for javac task

2004-01-05 Thread J.Pietschmann
[EMAIL PROTECTED] wrote: I have a white space character in my source directory name. ... ... ... [javac] Compiling 1695 source files to C:\x\build\classes [javac] javac: invalid flag: C:\x\Java [javac] Usage: javac Definitely a bug in Ant, the arguments to a fork