Just <script> it and be done with it... Or someone please write a single
multi-purpose REGEX property transformer task. --DD

PS: Yes, you could write a custom URL protocol, but most tasks assume files
instead of URLs, and that wouldn't be pretty.

-----Original Message-----
From: Matt Benson [mailto:gudnabrsam@;yahoo.com] 
Sent: Thursday, November 07, 2002 11:50 AM
To: Ant Users List
Subject: Re: Coverting package name to directory

It seems wasteful to write a custom task to replace
regular expressions in properties when we already have
one that works for files.  Maybe the core hackers
could say whether it would be feasible to define some
sort of pseudo-file entity whose contents would be a
property?

-Matt

--- Steve 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 name to directory
> 
> 
> > 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 way (aside from writing a
> custom task).
> 
> Custom task may not be a bad idea; I have to do this
> kind of thing myself
> sporadically

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@;jakarta.apache.org>

Reply via email to