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
Just
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
- 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
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
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
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
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
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
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:
>
10 matches
Mail list logo