ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markku Saarela" <>
Subject RE: XmlProperty beahvior with empty elements
Date Sat, 29 Mar 2003 06:11:18 GMT

After reading xml file just define
property again like:
server.list.stack2="" that's do the trick

Markku Saarela

-----Original Message-----
From: []
Sent: 28. maaliskuuta 2003 23:20
To: Ant Users List
Subject: XmlProperty beahvior with empty elements

I am trying to use the XmlProperty task to read in XML files to create
properties, and I am having a problem that I didn't have using normal
properties files (a la <property file=""/>)

If this is my XML file, the property server.list.stack2 is not set at all.

Using a normal properties file, I can get server.list.stack2="" by doing

How can I get the proper "empty element" behavior, i.e. create a property
with value of empty string?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message