ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastien Chassande-Barrioz <>
Subject How to check if a propery is set
Date Mon, 15 Oct 2001 12:43:21 GMT

I would like to run tasks only if a certain variable is set or not.
The following example doesn't work because the variable is not 
set to the "true" value, but it's set to my test identifier.

<target name="test1" if="${}">
<target name="test2" unless="${}">

Do you have a suggestion to resolve my problem ?

Chassande-Barrioz Sebastien
INRIALPES - SIRAC/SARDES Team - ObjectWeb initiative
Mail job :
Phone :

View raw message