Ah, ok. That works. Thanks. > -----Original Message----- > From: Dominique Devienne [mailto:DDevienne@;lgc.com] > Sent: Thursday, October 24, 2002 1:35 PM > > I didn't say the defaults cannot be set in an external > build.properties. > > --- build.xml --- > <property environment="env"/> > <property file="defaults.properties"/> > > <echo message="xyz = ${xyz}"/> > > --- defaults.properties --- > # Default properties > env.XYZ = default > > # Mapping to real properties > xyz = ${env.XYZ} > > Good old 'another level of indirection' ;-) --DD > > -----Original Message----- > From: Karr, David [mailto:david.karr@;attws.com] > Sent: Thursday, October 24, 2002 3:27 PM > To: 'Ant Users List' > Subject: RE: Best way to get paths either from env vars or > properties file ? > > Bleah. It's not worth it then. Specifying the default > locations inside the > build.xml, as opposed to the build.properties file, is not > ideal. I guess > there's no clean way to get both.
-- To unsubscribe, e-mail: <mailto:ant-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:ant-user-help@;jakarta.apache.org>