On Tue, 4 Oct 2005 08:02:05 +0200, Frank Henry wrote:
>Just wanted to step out from lurking and add an example
><available file="${your.file.path.here}"
property="your.file.path.here.present"/>
><echo message="your.file.path.here.present: ${your.file.path.here.present}"/>
><!-- possible results: -->
><!-- your.file.path.here.present = path does not exist (note the property
will be undefined!) -->
><!-- true = path exists -->
><if>
> <equals arg1="${your.file.path.here.present}" arg2="true"/>
2 comments: 1) you could use <available> directly in the if, and 2) you should
use <istrue> instead of <equals>
Ciao, Jürgen
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]