adding JAR files to the classpath and copying them to another location

2004-06-28 Thread Martin Goldhahn
Hi, I've got a set of jar files that I want to have added to the class path and the same set of files needs to be copied to another location. How can I achieve this without defining the set twice. At the moment the build file looks like this:

Re: Nightly builds?

2004-06-28 Thread Stefan Bodewig
On Mon, 28 Jun 2004, Gary Gregory <[EMAIL PROTECTED]> wrote: > Links to http://cvs.apache.org/builds/ant/nightly/ which does not > contain nightly builds. Yes, we are currently without nightly builds. > Some builds appear here: http://cvs.apache.org/snapshots/ant/ These are not builds but snaps

RE: ANTLR task doesn't update its output

2004-06-28 Thread Mani G. Iyer
I don't mean antlr.jar but antlrtool.jar . mani -Original Message- From: Sunil Mishra [mailto:[EMAIL PROTECTED] Sent: Monday, June 28, 2004 9:39 PM To: Ant Users List Subject: Re: ANTLR task doesn't update its output I used the following invocation: $ CLASSPATH=/Volumes/Users/smishra/a

Re: ANTLR task doesn't update its output

2004-06-28 Thread Sunil Mishra
I used the following invocation: $ CLASSPATH=/Volumes/Users/smishra/aic/jtp/beta/java/lib/antlr.jar ant -f antlr-build.xml compileParser I got the same result as before. I'm quite certain the classpath is being used correctly, I removed the reference to antlr.jar from the build file. Sunil On

RE: Junit error

2004-06-28 Thread Mani G. Iyer
Thank you Luis for the mail archives URL. mani -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, June 28, 2004 9:45 AM To: [EMAIL PROTECTED] Subject: RE: Junit error I've noticed in this list messages complaining about the same. From messages I've seen

RE: ANTLR task doesn't update its output

2004-06-28 Thread Mani G. Iyer
Sunil: I think you need to put antlrtool.jar in your classpath. Let me know how that works. mani -Original Message- From: Sunil Mishra [mailto:[EMAIL PROTECTED] Sent: Monday, June 28, 2004 6:34 PM To: Ant Users List Subject: Re: ANTLR task doesn't update its output But, if it were a

Nightly builds?

2004-06-28 Thread Gary Gregory
Hello, The page http://ant.apache.org/bindownload.cgi Links to http://cvs.apache.org/builds/ant/nightly/ which does not contain nightly builds. Some builds appear here: http://cvs.apache.org/snapshots/ant/ Please confirm. Thanks, Gary ---

Re: ANTLR task doesn't update its output

2004-06-28 Thread Sunil Mishra
But, if it were a classpath problem, I would not have antlr working at all. If the output files are not present, the antlr output is correctly written out. But if the antlr file is touched, the timestamp on the output file is not updated. In fact, if I put some garbage into the grammar file

Re: ANTLR task doesn't update its output

2004-06-28 Thread Matt Benson
Seems so. Be that as it may, your output shows that classes are not being found. Since you are using the same classpath over and over, I would declare it as a reference: when you use it, you can then use: You can use or to get your path into a property, whose value you can then check b