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:[EMAIL PROTECTED] Sent: November 5, 2004 9:03 AM To: Ant Users List Subject: Re: AW: package to dir [EMAIL PROTECTED] 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:[EMAIL PROTECTED] >>Gesendet am: Freitag, 5. November 2004 16:57 >>An: [EMAIL PROTECTED] >>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: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > > > 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
