I got it to work by setting JAVA_CC_HOME=c:\javacc2.1\bin\lib I've got it working on NT and Solaris. Hard to say which is wrong, the task or the documentation.
brian peterson | -----Original Message----- | From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] | Sent: Monday, March 11, 2002 3:54 PM | To: Ant Users List | Subject: Re: JavaCC javacchome attribute | | | The installed directory structure changed between JavaCC | v1.0 and 2.x. | The task must have been coded for v1.0. For v2.0 I use <java> | task [with | fork=yes to work around hardcoded System.exit()]] to call | COM.sun.labs.javacc.Main directly. | | Vlad. | | | Please respond to "Ant Users List" <[EMAIL PROTECTED]> | To: [EMAIL PROTECTED] | cc: | | Subject: JavaCC javacchome attribute | | | | I downloaded JavaCC, version 2.1, from Webgain's web site and | installed it. I set the javacchome to the directory I had installed to | but the javacc task failed with class not found exception. Using the | verbose option I noticed the java command it created never included a | classpath to the JavaCC.zip. Looking at the source for the JavaCC task | it expects to find the JavaCC.zip in the home directory, but it was | installed in bin/lib. Is the task wrong, the documentation or am I | setting javacchome incorrectly? | | Rod | | | -- | To unsubscribe, e-mail: | <mailto:[EMAIL PROTECTED]> | For additional commands, e-mail: | <mailto:[EMAIL PROTECTED]> | | | | | | -- | To unsubscribe, e-mail: | <mailto:[EMAIL PROTECTED]> | For additional commands, e-mail: | <mailto:[EMAIL PROTECTED]> | -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
