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 -- Alexandre Priou Analyste Concepteur Web On Wed, Sep 21, 2011 at 10:24 PM, Danny T. <danny.tr...@gmx.de> wrote: > Hi and thanks for your fast response. > I don't have a build.properties file. > It always sets ${lib.dir} to /opt/java_libs/gtk64 (which is in > ${libs.dir.gtk} it never uses the win one even though i added a > -Dbuild.os=win flag on the ant command. > > Am 21.09.2011 20:41, schrieb Alexandre Priou: > >> hi >> >> what you have in your build.properties ??? >> >> put in your build.properties, that : >> >> lib.dir= /path/lib.dir >> >> best regard >> alex >> >> On Wed, Sep 21, 2011 at 8:26 PM, Danny T.<danny.tr...@gmx.de> wrote: >> >> Hello everyone, >>> >>> i need some help to manage my condition. >>> I already projected my intention in php, just for clarification: >>> http://pastebin.com/dThG8w1r >>> >>> I would like to set ${lib.dir} >>> ${lib.dir.gtk} and ${lib.dir.win} are already set above the condition. >>> >>> Is there something i missed or didn'T understood? >>> >>> Best regards >>> Danny. >>> >>> ------------------------------****----------------------------** >>> --**--------- >>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.****org< >>> user-unsubscribe@ant.**apache.org <user-unsubscr...@ant.apache.org>> >>> >>> For additional commands, e-mail: user-h...@ant.apache.org >>> >>> >>> >> > ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: > user-unsubscribe@ant.apache.**org<user-unsubscr...@ant.apache.org> > For additional commands, e-mail: user-h...@ant.apache.org > >