Re: Newbie using Ant with Eclipse

2003-07-11 Thread Bob Barnes
David, Thanks for the quick reply. As soon as I hit the send button I realized the answer to the compression question... happens every time. Are you sure about the path semantics accepting ../ style navigation? I had already tried that with no luck and I haven't been able to locate any refe

Re: Buildfile testing (again)

2003-07-11 Thread Stefan Bodewig
On Fri, 11 Jul 2003, Laird NELSON <[EMAIL PROTECTED]> wrote: > I thought taskdef used a new AntClassLoader, as in Definer.java line > 275? (Ant 1.5.3) I guess that must consult the system classloader > first...? Yes - unless you tell it not to, but that won't help. You don't hand it any addition

Re: Unable to delete directory

2003-07-11 Thread Michael . Giroux
Thanks for looking into this. > +/** > + * Attempt to fix possible race condition when deleting > + * files on WinXP. If the delete does not work, > + * wait a little and try again. > + */ > +private boolean delete(File f) { > +if (! f.delete()) { > +tr

Re: Buildfile testing (again)

2003-07-11 Thread Laird NELSON
- Original Message - From: Laird NELSON <[EMAIL PROTECTED]> > Well, the dirty little secret here is that the project that is > running > this test case is actually using Maven, and I don't think Maven > forks > JUnit tests...I'll have to investigate this. Ahh; happily it turns out that

Re: Buildfile testing (again)

2003-07-11 Thread Antoine Levy-Lambert
Stefan Bodewig wrote yesterday on the development list : Hi, the new Launcher introduces the well known fun of delegating classloaders to , only this time it's the other way around. If you use and Foo is on the system classloader, but ant.jar is not, will fail as it cannot load oat.ant.Task.

Re: Buildfile testing (again)

2003-07-11 Thread Laird NELSON
- Original Message - From: Stefan Bodewig <[EMAIL PROTECTED]> > > Now, my classpath is set up properly, because my TestCase is loading > > and running (obviously). > > Uhm, no, not obviously, sorry. But...but...{blank stare} > will consult the system classloader, your testcase has been

RE: InheritAll=false Leaves Java System Properties Undefined

2003-07-11 Thread Murray, Mike B.
You are correct. I even modified your test to more closely mimic what I am doing and I can't get it to "fail". Yet, when I run my real targets, verbose output gives me: Property ${file.separator} has not been set Setting project property: file.sep -> \${file.separator} I am able

RE: Foreach and passing parameters

2003-07-11 Thread Lule Chen
You are right, I can pass multiple params to the target. Thanks, Louis -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED] Sent: July 10, 2003 5:21 PM To: Ant Users List Subject: RE: Foreach and passing parameters Note that I did , meaning that this was just a shorthand,