ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peterson, Brian" <Brian.Peter...@westgroup.com>
Subject RE: JavaCC javacchome attribute
Date Mon, 11 Mar 2002 22:02:09 GMT
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: vlad@trilogy.com [mailto:vlad@trilogy.com]
| 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" <ant-user@jakarta.apache.org>
| To:     ant-user@jakarta.apache.org
| 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:ant-user-unsubscribe@jakarta.apache.org>
| For additional commands, e-mail: 
| <mailto:ant-user-help@jakarta.apache.org>
| 
| 
| 
| 
| 
| --
| To unsubscribe, e-mail:   
| <mailto:ant-user-unsubscribe@jakarta.apache.org>
| For additional commands, e-mail: 
| <mailto:ant-user-help@jakarta.apache.org>
| 

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message