On Wed, 22 May 2002, Anthony W. Marino wrote: > Why not have it automatic and add the property as a global property in the > relevant build files as follows: > > <property name="${os.name}" value="${os.name}" /> > > Then make appropriate changes to "if=..." (ie; "Linux" not "linux")
That would work, good idea. I'm don't like too much using substitution in the property name - I would rather use the condition tasks. ( I can't believe I didn't think about this... ) Costin > > > The only properties that should be in the "build.properties" file are user > preferences and NOT hardcore system relevant properties that can be > ascertained with a built-in property. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>