ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Stark <>
Subject RE: Newbie question: importing properties from XML file via command line
Date Fri, 11 Sep 2009 20:38:00 GMT
"Thomas Boyles"  wrote:
> Any particular reason you're not using a plain old properties file?

Well I wanted to make it editable by an XML editor, as well as put comments
and such in there to make it more readable. Just wondering if there's a way
to import an XML file at the command line, since it already exists.


-----Original Message-----
From: Scott Stark
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
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"/>?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message