On Fri, Sep 11, 2009 at 20:35, Scott Stark <sst...@us.ibm.com> wrote: > > Hi, this is probably a dumb question but I couldn't find the answer in the > online doc. > > I want to import a set of properties from an XML file when I run an Ant > build from the command line. I can do that with the -propertyfile param if > the file has name=value pairs in it. Any way to do this with an XML file > with properties defined like <property name="blah" value="blahblah"/>? > > I know I can do this with the <import> task in the build file, but I want > to specify different property files at the command line rather than hard > wire it. > > thanks, > > Scott >
There is <xmlproperty>, which can be very convenient at times. -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team.com 40 avenue Raymond Poincaré 75116 Paris --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org