ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 7767] - [CONTRIBUTION] XML-Property Ant task
Date Fri, 19 Apr 2002 19:57:03 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7767>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7767

[CONTRIBUTION] XML-Property Ant task





------- Additional Comments From jakarta@ehatchersolutions.com  2002-04-19 19:57 -------
Nicola - I've modified and committed a version of this task.  Its working 
nicely, but needs more tests and of course documentation.

Changes I made:

  - attributes get set using "root-tag(attrname)" format.
  - the root node was not being processed for attributes, so i made a change to 
pick that up
  - Changed XML file attribute setter to java.io.File.
  - Changed ".list" property to be "[]" instead - to avoid conflicts with an 
element named "list".
  - Changed setUserProperty to setNewProperty - keep in mind that immutability 
will prevent properties from being set if they are already set - which is the 
desired behavior.

I think there are still some issues with indexes and such that we can fix now 
that its committed to Ant.

Let me know if these changes are cool with you and what is needed to get this 
polished off.  This is a very powerful addition to Ant, I think!

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message