ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: AW: AW: XmlProperty - can I specify the property value delimiter?
Date Wed, 24 Oct 2007 11:53:04 GMT
Compilable code is committed 
http://svn.apache.org/repos/asf/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/XmlProperty.java


Jan 

>-----Urspr√ľngliche Nachricht-----
>Von: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de] 
>Gesendet: Mittwoch, 24. Oktober 2007 10:53
>An: user@ant.apache.org
>Betreff: AW: AW: AW: XmlProperty - can I specify the property 
>value delimiter?
>
>Oh yes. Having commas itself in the data is a "valid" usecase.
>I'll add the delimiter attribute on Ant's codebase.
>
>Jan 
>
>>-----Urspr√ľngliche Nachricht-----
>>Von: J MacKay [mailto:jm.junkmail@yahoo.com] 
>>Gesendet: Mittwoch, 24. Oktober 2007 09:44
>>An: Ant Users List
>>Betreff: Re: AW: AW: XmlProperty - can I specify the property 
>>value delimiter?
>>
>>Jan.Materne@rzf.fin-nrw.de wrote:
>>> BTW: sources are directly viewable on
>>
>>Ah, much better.  As you can tell I'm still learning my way 
>>around svn ;)
>>
>>> duplicating seems to be the "easiest" way...
>>
>>Okay, good. That sounds like what I did.
>>
>>> What is the usecase for having an alternative delimiter?
>>
>>I need to pass property "x" to a utility class. The utility 
>>class splits the property string on a delimiter and adds each 
>>piece to a List object. The List object is then used by 
>>another class. But since my data may already contain commas, 
>>the utility can't always parse the values correctly.  So an 
>>alternative delimiter solves that issue for me.
>>
>> __________________________________________________
>>Do You Yahoo!?
>>Tired of spam?  Yahoo! Mail has the best spam protection around 
>>http://mail.yahoo.com 
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message