ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Danny T." <danny.tr...@gmx.de>
Subject Re: Need help to get condition working
Date Wed, 21 Sep 2011 20:46:50 GMT
i don't need to set the variable, i did a small snippet to explain:
http://pastebin.com/fpjWbAxx

but i already got it...
i need to use <isset property="build.os" /> instead of <isset 
property="${build.os}" />

now it works as i want :-)

but thanks anyway

best regards

Am 21.09.2011 22:33, schrieb Alexandre Priou:
> hi
>
> you use the command line for set your variable... humm
>
> check, for your condition and to use that   :
>
> <var name="x" value="6"/>
>      <if>
>          <equals arg1="${x}" arg2="6" />
>          <then>
>              <var name="x" value="12"/>
>          </then>
>      </if>
> </var>
>
>
>
>
> somewhere, you need to set a new variable before to use ...
>
> check that

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


Mime
View raw message