Description: Use JavaCC from Debian
Forwarded: no
Author: Damien Raude-Morvan <drazzib@debian.org>
Last-Update: 2009-09-27
Index: b/build.xml
===================================================================
--- a/build.xml
+++ b/build.xml
@@ -466,7 +466,6 @@
         description="Build the JavaCC parser from its grammar file">
         <taskdef name="generate" classname="org.apache.tools.ant.taskdefs.optional.javacc.JavaCC"
             uri="http://javacc.dev.java.net/"
-            classpath="lib/javacc.jar"
         />
         
         <!-- mkdir dir="${build.javacc.dir}/freemarker/core"/ -->
@@ -474,7 +473,7 @@
         <javacc:generate
             target="${src.dir}/freemarker/core/FMParser.jj"
             outputdirectory="src/freemarker/core"
-            javacchome="lib"
+            javacchome="/usr/share/java/" jdkversion="1.3"
         />
         <replace
             file="src/freemarker/core/FMParser.java"
