org.apache.tools.ant.types.CommandlineJavaTest failed on my machine
(WinXP, JDK 1.4.2).
It seems the its caused on

    public void testGetCommandline() {
        ...
        assertTrue("junit.jar contained",
               s[3].indexOf("junit.jar"+java.io.File.pathSeparator) >=
0);


The source is the 
       
c.createClasspath(project).setLocation(project.resolveFile("bootstrap/lib/ant.jar"));
line. Prerequisite is build from scratch. Otherwise that "bootstrap"
directory doesn´t
exist.

A change to
        c.createClasspath(project).setLocation(
            project.resolveFile(System.getProperty("ant.home") +
"/lib/ant.jar"));
would resolve that.



Jan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to