ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Copeland <...@infoether.com>
Subject The JavaCC and JJTree tasks....
Date Mon, 31 Mar 2003 21:23:40 GMT
...don't work with the latest JavaCC/JJTree release - JavaCC 3.0 - from
http://www.experimentalstuff.com/Technologies/JavaCC/index.html.  The
reason for this is that the package names have changed.  

Here's a patch to fix JavaCC.java and JJTree.java

=================================================================================
[tom@hal javacc]$ cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic
diff JJTree.java
Index: JJTree.java
===================================================================
RCS file:
/home/cvspublic/ant/src/main/org/apache/tools/ant/taskdefs/optional/javacc/JJTree.java,v
retrieving revision 1.19
diff -r1.19 JJTree.java
205,206c205,206
<         cmdl.setClassname("COM.sun.labs.jjtree.Main");
<     }
---
>       cmdl.setClassname("org.netbeans.javacc.jjtree.Main");
>    }
[tom@hal javacc]$ cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic
diff JavaCC.java
Index: JavaCC.java
===================================================================
RCS file:
/home/cvspublic/ant/src/main/org/apache/tools/ant/taskdefs/optional/javacc/JavaCC.java,v
retrieving revision 1.21
diff -r1.21 JavaCC.java
275c275
<         cmdl.setClassname("COM.sun.labs.javacc.Main");
---
>       cmdl.setClassname("org.netbeans.javacc.parser.Main");
[tom@hal javacc]$
=================================================================================

If there's a better way to post these patches, please let me know...

Thanks,

tom

-- 
Tom Copeland <tom@infoether.com>
InfoEther


Mime
View raw message