ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastien Chassande-Barrioz <sebastien.chassa...@inrialpes.fr>
Subject target with multiple unless
Date Tue, 16 Oct 2001 08:06:45 GMT
hi,

I would like to execute a task only if two properties are not set. I 
don't know how to specify the "AND" relation between unless condition in 
target field.

These following solutions doesn't work:

1/ <target name="toto" unless="prop1" unless="prop2">
...
</target>
It is not validated by the xml checker


2/ <target name="toto" unless="prop1,prop2">
...
</target>
This case doesn't work corretly.


3/ <target name="toto" unless="prop1 && prop2">
...
</target>
It is not validated by the xml checker


Do you have an idea ?

thanks,
Seb
-- 
Chassande-Barrioz Sebastien
INRIALPES - SIRAC/SARDES Team - ObjectWeb initiative
Mail job : sebastien.chassande@inrialpes.fr
Phone : 04.76.61.55.16


Mime
View raw message