ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "michael sorens" <msor...@myrealbox.com>
Subject Re: manipulating property strings
Date Sat, 05 Feb 2005 01:17:07 GMT
Ahhh... thanks for that refinement; that handles what I need.

On Wed, 2 Feb 2005 09:48:06 -0800 (PST), Matt Benson <gudnabrsam@yahoo.com> wrote:

> --- michael sorens <msorens@myrealbox.com> 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: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message