Re: Ant: create file if none exists

2005-01-29 Thread Ninju Bohra
You can also look at the task (part of the ant-contrib project in SourceForge) which along with the standard condition tasks will allow you to do the following --- Douglas Kramer <[EMAIL PROTECTED]> wrote: > Found "

Re: Ant: create file if none exists

2005-01-29 Thread Douglas Kramer
Found "unless" attribute of target. This simpler version works if ${MYFILE} resource is a file or directory, but fails if a symlink (which is what I devised this for). Am bummed out. -Doug Douglas Kramer wrote: Okay, try again. Need to create a file (actually a symli

Ant: create file if none exists

2005-01-29 Thread Douglas Kramer
Okay, try again. Need to create a file (actually a symlink) if none exists. Is there a way to set a property true if a resource does *not* exist? DETAIL The dosomething task will do something only if the file exists. I tried usi