RE: Coverting package name to directory

2002-11-08 Thread Matt Benson
On the idea of writing a task to do translations on properties, I have some questions: why is not available outside a target? why isn't a replaceregexp FilterReader included with Ant? If there is no good reason for either of these things, wouldn't it accomplish our purpose and more for the ta

RE: Coverting package name to directory

2002-11-07 Thread Dominique Devienne
Just

Re: Coverting package name to directory

2002-11-07 Thread Matt Benson
Loughran <[EMAIL PROTECTED]> wrote: > > - Original Message - > From: "Stefano Mancarella" > <[EMAIL PROTECTED]> > To: "Ant Users List" <[EMAIL PROTECTED]> > Sent: Thursday, November 07, 2002 8:08 AM > Subject: Re: Coverting package nam

Re: Coverting package name to directory

2002-11-07 Thread Steve Loughran
- Original Message - From: "Stefano Mancarella" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Thursday, November 07, 2002 8:08 AM Subject: Re: Coverting package name to directory > Matt Benson wrote: > > > There may

Re: Coverting package name to directory

2002-11-07 Thread Stefano Mancarella
Buonassisi, Vincent [Contractor] wrote: Have you looked at the task pathconvert? Pathconvert is not suitable for this purpose: it takes a path or fileset and converts it to a string. What I want to do is converting a package name to a directory name. Trying to express the problem in a simpler

Re: Coverting package name to directory

2002-11-07 Thread Stefano Mancarella
Matt Benson wrote: There may be some twisted and ingenious application of that could accomplish this, or some other task I don't know about, but it seems that Ant's facilities for manipulating properties sans file IO are limited. Yes, I think so. How about a script? I think that's the only

RE: Coverting package name to directory

2002-11-07 Thread Buonassisi, Vincent [Contractor]
Have you looked at the task pathconvert? -Original Message- From: Stefano Mancarella [mailto:stefano.mancarella@;caboto.it] Sent: Thursday, November 07, 2002 8:43 AM To: [EMAIL PROTECTED] Subject: Coverting package name to directory Which is the better way to convert a package name to a

Re: Coverting package name to directory

2002-11-07 Thread Matt Benson
There may be some twisted and ingenious application of that could accomplish this, or some other task I don't know about, but it seems that Ant's facilities for manipulating properties sans file IO are limited. How about a script? -Matt --- Stefano Mancarella <[EMAIL PROTECTED]> wrote: > Matt B

Re: Coverting package name to directory

2002-11-07 Thread Stefano Mancarella
Matt Benson wrote: I don't know about a better way, but in a POC I did for placing source files in the proper directory based on the package name, I echoed the package to a file, used the replace task to substitute / for ., and read it back in as a property. I've already considered this solutio

Re: Coverting package name to directory

2002-11-07 Thread Matt Benson
I don't know about a better way, but in a POC I did for placing source files in the proper directory based on the package name, I echoed the package to a file, used the replace task to substitute / for ., and read it back in as a property. -Matt --- Stefano Mancarella <[EMAIL PROTECTED]> wrote: >