RE: ant shell wrapper surprise, try to run version A, runs version B

2005-08-26 Thread Dominique Devienne
> From: Stuart Maclean [mailto:[EMAIL PROTECTED] > Sent: Friday, August 26, 2005 3:13 PM > To: user@ant.apache.org > Subject: ant shell wrapper surprise, try to run version A, runs version B > > OS is Linux. ANT_HOME is set to /path/to/ant-1.6.5. > > Now, I want to run an older version of Ant fo

ant shell wrapper surprise, try to run version A, runs version B

2005-08-26 Thread Stuart Maclean
OS is Linux. ANT_HOME is set to /path/to/ant-1.6.5. Now, I want to run an older version of Ant for some reason, so I fully qualify the script at the shell cmd line % /path/to/ant-1.6.2/bin/ant and it STILL runs 1.6.5. G. The ant script (for 1.6.2 anyways, and 1.6.5 looks the s

RE: inside doesn't have the expected behavior

2005-08-26 Thread Burgess, Benjamin
Yes, filesets act as an selector and this is intended. This is a well documented feature (http://ant.apache.org/manual/dirtasks.html - scroll down to the Selectors header halfway down the page). This is default behavior. If you want a different selector (such as or ) then you can specify it wi

RE: inside doesn't have the expected behavior

2005-08-26 Thread Dominique Devienne
> > "Tardif, Sebastien" <[EMAIL PROTECTED]> wrote on 08/18/2005 > > 01:41:31 PM: > >> This work: > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> But this doesn't: > >> > >> > >> > >> > >> > >> > >>

RE: CVS Task

2005-08-26 Thread Dominique Devienne
> From: Joe Rice [mailto:[EMAIL PROTECTED] > > I have a CVS Tree with a top directory called source that I want to > ignore. So my tree is: > > source/project1 > source/project2 > > I used eclipse to do the checkout and it ignored the top directory (I > assume with the -d option in the checkout

Re: mix of files and dirs ?

2005-08-26 Thread Ninju Bohra
If you already have the list of fully-qualified files/directories that need to be deleted you may want to: 1) Write the list out to a temp file 2) use the includesfile attribute of the element that is nested inside a task 3) Add a includeEmptyDirs="true" attribute to the to insure empty directo

SOLVED Re: Referencing External .class Files In Classpath

2005-08-26 Thread Stephen Morrison
On 26 Aug 2005, at 14:31, Petar Tahchiev wrote: On 26/08/05, Stephen Morrison <[EMAIL PROTECTED]> wrote: On 26 Aug 2005, at 12:35, Petar Tahchiev wrote: On 25/08/05, Stephen Morrison <[EMAIL PROTECTED]> wrote: On 25 Aug 2005, at 15:41, Petar Tahchiev wrote: On 25/08/05, Stephen Morris

CVS Task

2005-08-26 Thread Joe Rice
I have a CVS Tree with a top directory called source that I want to ignore. So my tree is: source/project1 source/project2 I used eclipse to do the checkout and it ignored the top directory (I assume with the -d option in the checkout command) so that in eclipse I have c:/workspaces/project1

Re: Referencing External .class Files In Classpath

2005-08-26 Thread Petar Tahchiev
On 26/08/05, Stephen Morrison <[EMAIL PROTECTED]> wrote: > > > On 26 Aug 2005, at 12:35, Petar Tahchiev wrote: > > > On 25/08/05, Stephen Morrison <[EMAIL PROTECTED]> wrote: > >> > >> > >> On 25 Aug 2005, at 15:41, Petar Tahchiev wrote: > >> > >>> On 25/08/05, Stephen Morrison <[EMAIL PROTECTED]

Re: Referencing External .class Files In Classpath

2005-08-26 Thread Stephen Morrison
On 26 Aug 2005, at 12:35, Petar Tahchiev wrote: On 25/08/05, Stephen Morrison <[EMAIL PROTECTED]> wrote: On 25 Aug 2005, at 15:41, Petar Tahchiev wrote: On 25/08/05, Stephen Morrison <[EMAIL PROTECTED]> wrote: On 25 Aug 2005, at 07:07, Petar Tahchiev wrote: On 24/08/05, Stephen Morris

Re: Referencing External .class Files In Classpath

2005-08-26 Thread Petar Tahchiev
On 25/08/05, Stephen Morrison <[EMAIL PROTECTED]> wrote: > > > On 25 Aug 2005, at 15:41, Petar Tahchiev wrote: > > > On 25/08/05, Stephen Morrison <[EMAIL PROTECTED]> wrote: > >> > >> > >> On 25 Aug 2005, at 07:07, Petar Tahchiev wrote: > >> > >>> On 24/08/05, Stephen Morrison <[EMAIL PROTECTED]

Re: how can I change value of property in runtime?

2005-08-26 Thread Taner Diler
Okay, I solved by using antcontribantcontrib packet. regards Bill Rich wrote: I think part of the answer to this question is another question - why do you need to change the value of the property? In Ant properties are immutable. The targets are rule based which implies that all rules have

RE: how to detect relative or absolute path value

2005-08-26 Thread sten.rosendahl
Well, I've tried location but even if the input property is an absolute path like /usr/tmp, Ant will append basedir and create a property /my/basedir/usr/tmp. I'm using Ant 1.6.2 on Linux. Sten -Original Message- From: Burgess, Benjamin [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 2

Please add the IDX Java IDE to the external tools page

2005-08-26 Thread Anders Olsson
Hi Everyone, We've just released a new version of our Java IDE: IDX. IDX has pretty deep integration with Ant, and it would be nice if you could add a reference to the "External Tools and Tasks" page with the information below. Thank you in advance! Regards, Anders Name: Optistic IDX Java ID

RE: ReplaceRegExp with windows filenames

2005-08-26 Thread Rebhan, Gilbert
Hi, -Original Message- From: Neil Benn [mailto:[EMAIL PROTECTED] Sent: Thursday, August 25, 2005 9:55 PM To: Ant Users List Subject: Re: ReplaceRegExp with windows filenames /* [...] So, it seems if I use ReplaceRegEx on the file or load the file into a property and if I use one o

mix of files and dirs ?

2005-08-26 Thread Rebhan, Gilbert
Hi, Problem = i'm parsing a logfile for stuff that should be deleted. Logfile may contain files _and_ directories. All parsed filenames and directories are put into a property, property looks like that : ... ${delfiles} [echo] /lib/spatch2.jar, [echo] /lib/shotpatch.jar, [echo]