ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anthony W. Marino" <anth...@AWMObjects.com>
Subject Re: dynamic properties
Date Wed, 22 May 2002 13:50:44 GMT
> put the properties for each platform in their own properties file and then
> use:
>
>     <property file="${platform}.properties"/>
>
> you'll, of course, need to set ${platform} appropriately, but <condition>
> can do this for you.
>
>     Erik

Erik,
Can't the same thing be accomplished with the "os.name" built-in property as 
in the following example?

	<property file="${os.name}.properties" />

Anthony

>
> ----- Original Message -----
> From: "Gary Grobe" <gary@grobe.net>
> To: <ant-user@jakarta.apache.org>
> Sent: Tuesday, May 21, 2002 2:59 PM
> Subject: dynamic properties
>
> > I'm looking for a way to say, if this platform then set these
> > properties, else if this platform, then set the same properties for the
> > same target, but with different values. Found a few ways  but am hoping
> > for something better.
> >
> > Thnxs.
> >
> >
> > --
> > To unsubscribe, e-mail:  
> > <mailto:ant-user-unsubscribe@jakarta.apache.org> For additional commands,
> > e-mail: <mailto:ant-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message