ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <>
Subject RE: Unless using more than one property
Date Wed, 17 Oct 2007 07:39:25 GMT

-----Original Message-----
From: Knuplesch, J├╝rgen [] 
Sent: Wednesday, October 17, 2007 9:00 AM
Subject: Unless using more than one property

Is it possible to use two or more propertys with the unless attribut?

The following doesnt seem to work:
  <target name="dsf.copynbdb" unless="dope.nodsf,dope.nodsf.copynbdb">

It looks like that the >,< is interpreted as part of the property.

I cant find the answer to this question in the Ant-Doku.

no, but you can bundle those things to check in a condition  =

<condition property="">

and then =

 <target name="dsf.copynbdb" unless="">

If you need to do more complicated stuff with execution-rules,
flow-control ... then have a look at  AntXtras  =

Regards, Gilbert

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message