You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Anthony W. Marino" <an...@AWMObjects.com> on 2002/05/21 19:58:41 UTC
j-t-c/jk/native2/build.xml: if="linux"
Where/when does the "linux" property get set?
Thank You,
Anthony
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: j-t-c/jk/native2/build.xml: if="linux"
Posted by co...@covalent.net.
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: j-t-c/jk/native2/build.xml: if="linux"
Posted by "Anthony W. Marino" <an...@AWMObjects.com>.
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")
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.
Anthony
> On Tue, 21 May 2002, Anthony W. Marino wrote:
> > Where/when does the "linux" property get set?
>
> In your build.properties.
>
> Hopefully we'll be able to automate this ( extract it from System
> properties ), or at least document it better.
>
> Costin
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: j-t-c/jk/native2/build.xml: if="linux"
Posted by co...@covalent.net.
On Tue, 21 May 2002, Anthony W. Marino wrote:
> Where/when does the "linux" property get set?
In your build.properties.
Hopefully we'll be able to automate this ( extract it from System
properties ), or at least document it better.
Costin
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>