ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@mad.scientist.com>
Subject Re: Newbie question
Date Fri, 04 Aug 2000 16:39:21 GMT
>probably a simple question. 

><target name="build-module-a" if="module-A-present"> 

>This would execute only if the property is set. Is there a way to check if a 
>value not is set? (This will be practical if certain libraries are not
present, 
>recompile them and put the jar's in the right location so they can be used
by 
>the project)

yup - use "unless" instead of "if" :P


Cheers,

Pete

*------------------------------------------------------*
| "Nearly all men can stand adversity, but if you want |
| to test a man's character, give him power."          |
|       -Abraham Lincoln                               |
*------------------------------------------------------*

Mime
View raw message