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/Use

Re: ANTLR task doesn't update its output

2004-06-28 Thread Sunil Mishra
task doesn't update its output 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 ga

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 w

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