ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Kazakov" <Vad...@quadrus.com>
Subject RE: AW: package to dir
Date Mon, 08 Nov 2004 16:11:15 GMT
I suppose you could write the original string out to a file, use the replace task and then
use loadfile task to load the changed string into a property.

-----Original Message-----
From: uli [mailto:ld-development@lohndirekt.de] 
Sent: November 5, 2004 9:03 AM
To: Ant Users List
Subject: Re: AW: package to dir

Jan.Materne@rzf.fin-nrw.de wrote:

>AntContrib: <propertyregexp>
>  match:   \.
>  replace: \/
>
>See also
>http://marc.theaimsgroup.com/?l=ant-user&m=107789102617870&w=2
>
>
>Jan
>
>
>  
>
>>-----Urspr√ľngliche Nachricht-----
>>Von: uli [mailto:ld-development@lohndirekt.de]
>>Gesendet am: Freitag, 5. November 2004 16:57
>>An: user@ant.apache.org
>>Betreff: package to dir
>>
>>imagine you have a package :
>>
>>this.is.my.package
>>
>>and it somehow is used as a path like
>>
>>this/is/my/packge
>>
>>how do I convert the package name to a path ?
>>
>>i came across pathconvert, but i didn't succeed.
>>i need to have the string "this/is/my/package" in
>>a property in the end.
>>
>>thanks
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>For additional commands, e-mail: user-help@ant.apache.org
>>
>>    
>>
>
>  
>
thanks for that, but i'd like to stay independent of additional libs.
there is no way to achieve my goal with the core tasks ?

---------------------------------------------------------------------
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