Re: javacc task for 3.1

2003-07-11 Thread Stefan Bodewig
On Thu, 10 Jul 2003, Paul Nasrat <[EMAIL PROTECTED]> wrote: > Take two - I've actually tested this one rather than thinking I have > :) Cool, changes committed. Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: javacc task for 3.1

2003-07-10 Thread Paul Nasrat
On Thu, Jul 10, 2003 at 01:04:52PM +0200, Stefan Bodewig wrote: > On Thu, 10 Jul 2003, Paul Nasrat <[EMAIL PROTECTED]> wrote: > > > Here is a small patch to add the javacc.jar to the search list for > > the javacc task. Take two - I've actually tested this one rather than thinking I have :) Apo

Re: javacc task for 3.1

2003-07-10 Thread Paul Nasrat
On Thu, Jul 10, 2003 at 01:04:52PM +0200, Stefan Bodewig wrote: > On Thu, 10 Jul 2003, Paul Nasrat <[EMAIL PROTECTED]> wrote: > This is by far not enough, you'd get a major version from > getMajorVersionNumber of 4, which in turn would cause getMainClass to > fail. My bad. I really didn't look a

Re: javacc task for 3.1

2003-07-10 Thread Stefan Bodewig
On Thu, 10 Jul 2003, Paul Nasrat <[EMAIL PROTECTED]> wrote: > Here is a small patch to add the javacc.jar to the search list for > the javacc task. This is by far not enough, you'd get a major version from getMajorVersionNumber of 4, which in turn would cause getMainClass to fail. > This makes t

javacc task for 3.1

2003-07-10 Thread Paul Nasrat
Here is a small patch to add the javacc.jar to the search list for the javacc task. This makes the task work with sane layouts such as /usr/share/java/javacc.jar or lib/javacc.jar (eg for JPackage). Please apply - tested with JavaCC 3.1. Paul Nasrat Index: ant/taskdefs/optional/javacc/JavaCC.jav