Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 21049 invoked by uid 500); 21 Jun 2001 18:48:12 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 21016 invoked from network); 21 Jun 2001 18:48:11 -0000 Message-ID: <3B324162.7E119DBD@healthlanguage.com> Date: Thu, 21 Jun 2001 12:48:02 -0600 From: "Larry V. Streepy, Jr." Organization: Health Language, Inc. X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: ant-user@jakarta.apache.org Subject: PathConvert and properties (was Re: for-each (another proposal)) References: <001001c0fa7a$c46b62e0$0201a8c0@knightsAPC.knightsofthenet.com> <3B32361D.78027DA5@healthlanguage.com> <01062204140800.02060@helm.realityforge.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N 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 see. 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) mailto:streepy@healthlanguage.com 970/626-4425 (fax) http://www.healthlanguage.com