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-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to