Thanks for the short term solution, it works like a charm.
Nik
> In the meantime one can write a custom task, or use
Hi,
[EMAIL PROTECTED] wrote:
We are building a piece of software which has a number of Java
properties files in xml format (the kind which are read with
Properties.loadFromXML). An example:
http://java.sun.com/dtd/properties.dtd";>
[ ... ]
I would like to be able to read these files and use
On 7/20/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> It would be nice if there were a way for the xmlproperty task to create pro=
> ps with an XPath like syntax. Something like:
>
> temp.properties.entry(key=3D"appName") would return Name
I think that we would want something like this, t
in 1.5, is the issue
related to not wanting to have to rewrite it for ant to work with older
java versions?
Nik
> > - Original Message -
> > From: [EMAIL PROTECTED]
> > To: user@ant.apache.org
> > Subject: Using Java xml properties file with Ant
> > Date: Fri, 2
>Good question. Looking at the ant source it looks like the
>property value is overwritten with the new value concatenated
>onto the old value with a comma in between. So the old value is lost.
>
>This is probably not the answer you are looking for but you
>could use ant contrib's foreach task
something like:
temp.properties.entry(0) would return Name as well
But I don't see such a thing. Maybe we are just missing it.
--ryano
> - Original Message -
> From: [EMAIL PROTECTED]
> To: user@ant.apache.org
> Subject: Using Java xml properties file with Ant
> Da
We are building a piece of software which has a number of Java
properties files in xml format (the kind which are read with
Properties.loadFromXML). An example:
http://java.sun.com/dtd/properties.dtd";>
Name
Something
2.5
I would like to be able to read these files and use their proper