Ahhh... thanks for that refinement; that handles what I need.
On Wed, 2 Feb 2005 09:48:06 -0800 (PST), Matt Benson <[EMAIL PROTECTED]> wrote:
--- michael sorens <[EMAIL PROTECTED]> wrote:
With the pointer to the <redirector>, I was able to
rewrite the task to avoid a temp file. However, that
introduced a different problem.
[SNIP]
Instead of <fail if="whatever" message="foo" /> you
can use (since Ant 1.6.2):
<fail message="foo">
<condition>
<and>
<isset property="whatever" />
<not>
<equals arg1="${whatever}" arg2=""
trim="true" />
</not>
</and>
</condition>
</fail>
HTH,
Matt
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]