Re: Need help to get condition working

2011-09-21 Thread Danny T.
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 instead of 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 th

Re: Need help to get condition working

2011-09-21 Thread Alexandre Priou
hi you use the command line for set your variable... humm check, for your condition and to use that : somewhere, you need to set a new variable before to use ... check that -- Alexandre Priou Analyste Concepteur Web On Wed, Sep 21, 201

Re: Need help to get condition working

2011-09-21 Thread Danny T.
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

Re: Need help to get condition working

2011-09-21 Thread 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. wrote: > Hello everyone, > > i need some help to manage my condition. > I already projected my intention in php, just for cla

Need help to get condition working

2011-09-21 Thread Danny T.
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 unde