ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Reilly" <peter.kitt.rei...@gmail.com>
Subject Re: Checking whether a property is set
Date Fri, 09 Nov 2007 11:35:34 GMT
   <condition property="abc.not.set">
     <not><isset property="abc"/></not>
  </condition>



On Nov 9, 2007 11:21 AM, Rob Wilson <netplay@gmail.com> wrote:
> I can check whether a file exists and set a property, but can I check
> whether a property exists and set a property based on whether it
> exists?
>
> I don't mind how this is checked, I just need to make sure that my
> JUnit test stops if the property isn't set.
>
> Cheers,
> Rob.
>
> ---------------------------------------------------------------------
> 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