Re: Ant: file exists

2005-01-29 Thread Douglas Kramer
For the curious, this is it. When calling the run task, a symlink is created if it does not exist. Douglas Kramer wrote: Thanks. Okay, great so far... but I also need to excute a statement if the property is

Re: Ant: file exists

2005-01-29 Thread Douglas Kramer
Thanks. Okay, great so far... but I also need to excute a statement if the property is true, something like this: if [ -f filename ]; then echo "File exists"; fi -Doug Erik Hatcher wrote: On Jan 29, 2005, at 3:40 PM, Douglas Kramer wrote: Is there a way to test whether a file exists? ---

Re: Ant: file exists

2005-01-29 Thread Erik Hatcher
On Jan 29, 2005, at 3:40 PM, Douglas Kramer wrote: Is there a way to test whether a file exists? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Ant: file exists

2005-01-29 Thread Douglas Kramer
Is there a way to test whether a file exists? I googled ant.apache.org for "file exists", looked at conditional, etc to no avail. -Doug - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]