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=26849>.
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=26849

[PATCH] Pathconvert output in xml format and write to file

           Summary: [PATCH] Pathconvert output in xml format and write to
                    file
           Product: Ant
           Version: 1.7Alpha (nightly)
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I have thge need of writing in xml a set of file and dir names. Since
PathConvert makes it easy to do exactly what I want but outputs to a single
string with a separator, I have patched it to output also in xml format.

So instead of

 path1,path2

it writes

 <path><pathelement>path1</pathelement><pathelement>path2</pathelement></path>

The option is

 @type="plain|xml"

Then I need to write it to a file, so I added also a file attribute, that is not
exclusive with the property attribute

 @file="filetowriteto"

I'm using it in a scratchpad project in Forrest

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to