Need help to get condition working
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-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org
Re: Need help to get condition working
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. 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 For additional commands, e-mail: user-h...@ant.apache.org - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org
Re: Need help to get condition working
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 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 - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org