Guenter Knauf wrote:
here's all what I could get:
http://www.gknw.net/test/tomcat/

That's great. stderr.txt is exactly what I was looking for. This looks like the problem: Exception: \sys:\tomcat\4137\webapps\examples\WEB-INF\classes is not an absolute path
        at org.apache.tools.ant.util.FileUtils.dissect(FileUtils.java:725)


It appears '\' is getting prepended to some of the paths so they start '\sys:\...' rather than 'sys:\...'

I've had a look at the Ant source and it is the initial \ that is causing the problem.

What I can't figure out is where the initial \ is coming from. Can you run the following code on your system and post the output?


package org.apache.markt;

import java.io.File;
import java.io.IOException;
import java.net.URL;

public class NetWareTest {

    public static void main(String[] args) throws IOException {
        File testDir1 = new File(".");
        System.out.println(testDir1.getCanonicalPath());

        File testDir2 = new File(testDir1.getCanonicalPath());
        System.out.println(testDir2.getCanonicalPath());

        URL outURL = testDir2.toURL();
        String outURI = outURL.toString();
        System.out.println(outURI);

        outURL = new URL(outURI);
        File outDirF = new File(outURL.getFile());
        System.out.println(outDirF.getCanonicalPath());
    }
}


Cheers,

Mark


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

Reply via email to