ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lasher, James L" <jim.las...@hp.com>
Subject why do I get a java FileNotFound when defining a property
Date Fri, 16 Sep 2005 05:09:03 GMT

I have defined a property:

<property name="mypropname" value="/opt/odi/success.txt"/>

If the /opt/odi/success.txt file does not yet exist, I get a
java.io.FileNotFound Exception and the build fails.

Is there any way around this?  I'd like to just set this property up
with the name of a file that will exist later.  I imagine I could wait
to set this up until after I know the file has been created, but why
won't Ant let me do it the way I'd like?

Thanks,
-jim-

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


Mime
View raw message