ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Larry V. Streepy, Jr." <>
Subject PathConvert and properties (was Re: for-each (another proposal))
Date Thu, 21 Jun 2001 18:48:02 GMT
Note I've renamed this thread.

A while ago, I posted a pathconvert task that does exactly as you
mention.  I've since made a couple of changes to make it more flexible
and I'll re-post it later today.

All that needs to be done now is to allow a fileset to have an id.  I've
never looked at the code to see how that is done.  I'll take a look and

So, assuming that the id change is simple, I'll post patches and a new
task that will accomplish this later today.

Peter Donald wrote:
> On Fri, 22 Jun 2001 03:59, Larry V. Streepy, Jr. wrote:
> > Brett Knights wrote:
> > > Wouldn't it be nice to use a fileset to produce a comma separated list of
> > > filenames needed by the current javadoc thread?
> >
> > Actually, I was just thinking the same thing (having been in the middle
> > of that thread)! :-)
> >
> > A good start would be to allow filesets to have referencable ids.  Then
> > the property task could take the resulting file list and stuff it into a
> > property, hopefully with a way to specify a delimeter.  This has
> > application well beyond javadoc.
> >
> > Just an thought I had this morning.
> Thats something that will probably be in Ant2. We used the term PathConvert
> on antdev to describe it. This would allow you to convert it to all different
> conventions: comma deliminated, colon deliminated for unix or unix layers (ie
> cygwin), semi-colon deliminated for win32, space separated for some tasks etc.
> No ones actually implemented it yet though - I am sure if someone was to
> offer a similar task for ant1 there would not be any complaints ;)
> Cheers,
> Pete
> *-----------------------------------------------------*
> | "Faced with the choice between changing one's mind, |
> | and proving that there is no need to do so - almost |
> | everyone gets busy on the proof."                   |
> |              - John Kenneth Galbraith               |
> *-----------------------------------------------------*

Larry V. Streepy, Jr.
Chief Technical Officer and VP of Engineering

Health Language, Inc.  -- "We speak the language of healthcare"

970/626-5028 (office) 
970/626-4425 (fax)    

View raw message