tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cost...@covalent.net
Subject Re: j-t-c/jk/native2/build.xml: if="linux"
Date Wed, 22 May 2002 15:35:43 GMT
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:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message