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 the task work with sane layouts such as > /usr/share/java/javacc.jar or lib/javacc.jar (eg for JPackage). Taking /usr/share/java as an example, you'd have to set the task's javacchome attribute to "/usr/share/java/" with your patch, right? Line 339 in JavaCC.java will cause javacc to be invoked with -Dinstall.root=/usr/share/java - are you sure it will work properly with this? Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]