--- 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]

Reply via email to