Both in some way.
One of the biggest problem is that tasks to support COTS (Commercial Off the Shelf) often have to support a wide range of versions in the wild that are of course very different. A simple directory layout change or a case change between Unix and Windows versions is enough to break it. I committed some changes a few minutes ago in cvs so that it looks in javacchome and javacchome/bin/lib before breaking. Stephane > -----Original Message----- > From: Peterson, Brian [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 11, 2002 11:02 PM > To: 'Ant Users List' > Subject: RE: JavaCC javacchome attribute > > > 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]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
