You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by madhuvanti joshi <j_...@yahoo.com> on 2006/07/10 07:20:25 UTC

ANT script fails to run when path contains '!'

Hi All,

I have a batch file through which I am calling ANT
script. Before calling ANT script, I am setting
CLASSPATH through batch file to the path containing
ANT libraries and product.

Although CLASSPATH has been set properly when I have a
'!' in the path ( e.g. C:\Program
Files\Some!Path\AntMainDir), ANT script fails with
return code 3 (on windows - path not found) with build
exception "Can't load default task list". (It does not
find
org/apache/tools/ant/taskdefs/defaults.properties)

I want to know why it is not finding the path when it
contains '!'? (If I remove'!' from Some!Path then
everything works fine.)

Thanks in Advance.

-Madhu. 



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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