ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francis GALIEGUE <...@one2team.com>
Subject Feature request: ifbool/unlessbool
Date Thu, 24 Sep 2009 08:30:09 GMT
Hello list,

I have quite a huge build system based on ant and I govern some of its
behaviour using properties, or the lack of it thereof.

But ideally, I'd like to use these properties all the time, with
boolean values. Say, for example, if I have nomail set to 1 or true,
then no mail is sent; if it's 0 or false, then the mail is sent. And
the target would then read:

<target name="junit-send-report" unlessbool="nomail"/>

Comments?

-- 

Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
fge@one2team.com
40 avenue Raymond Poincaré
75116 Paris

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


Mime
View raw message