ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mads B. Tandrup" <mad...@yahoo.com>
Subject Ant 1.7: Problem in windows when path to ant contains spaces
Date Thu, 01 Feb 2007 18:22:04 GMT
Hello

I'm not sure if this is the correct place, but here goes:

I've updated from Ant 1.6 to 1.7 using the binary distribution at ant.apache.org. 
But when I try to run the new version it returns an exception before reading my build file:
java.lang.ClassNotFoundException: org.apache.tools.ant.Main
        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:255)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

My ant files are located in a subfolder of: C:\Documents and Settings.

If I move the entire folder to a path that does not contain spaces.
It works perfectly.

With ant 1.6 it works in both locations.

Is this the intended way it should (not) work?

I'm using the JDK 1.3.1_19 compiler.

Best regards,
Mads





		
___________________________________________________________ 
The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet
provider. http://uk.docs.yahoo.com/nowyoucan.html

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message