Re: Newbie question: importing properties from XML file via command line

2009-09-14 Thread Joe Schmetzer
2009/9/14 Scott Stark : > Joe wrote: >> That's not correct: ant properties in the file are expanded inline. >> See http://ant.apache.org/manual/CoreTasks/property.html for details >> (I don't know about ${file.separator}, though) > > I see that in the documentation; however it's not working for me.

Re: Newbie question: importing properties from XML file via command line

2009-09-14 Thread Scott Stark
Joe wrote: > That's not correct: ant properties in the file are expanded inline. > See http://ant.apache.org/manual/CoreTasks/property.html for details > (I don't know about ${file.separator}, though) I see that in the documentation; however it's not working for me. My properties file: script_dir

Re: Newbie question: importing properties from XML file via command line

2009-09-13 Thread Francis GALIEGUE
On Fri, Sep 11, 2009 at 20:35, Scott Stark 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 >

Re: Newbie question: importing properties from XML file via command line

2009-09-13 Thread Joe Schmetzer
2009/9/11 Scott Stark : >> Any particular reason you're not using a plain old properties file? > > Also I've noticed you can't "inherit" properties in a properties file. For > example, this doesn't work: > > projectRoot=C:\\working > documentSource=${projectRoot}\\documents > > And you can't even u

RE: Newbie question: importing properties from XML file via command line

2009-09-11 Thread Scott Stark
> Any particular reason you're not using a plain old properties file? Also I've noticed you can't "inherit" properties in a properties file. For example, this doesn't work: projectRoot=C:\\working documentSource=${projectRoot}\\documents And you can't even use ${file.separator}... Scott

RE: Newbie question: importing properties from XML file via command line

2009-09-11 Thread Scott Stark
"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

RE: Newbie question: importing properties from XML file via command line

2009-09-11 Thread Thomas Boyles
Any particular reason you're not using a plain old properties file? -Original Message- From: Scott Stark [mailto:sst...@us.ibm.com] Sent: Friday, September 11, 2009 11:36 AM To: Ant Users List Subject: Newbie question: importing properties from XML file via command line Hi, th

Newbie question: importing properties from XML file via command line

2009-09-11 Thread Scott Stark
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