summaryrefslogtreecommitdiff
blob: 8353cbe52a7691efb46dbf47e90caf4dcfaaae04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--- build.xml	2009-01-31 16:14:57.000000000 +0200
+++ build.xml.fixed	2009-01-31 16:17:14.000000000 +0200
@@ -35,7 +35,7 @@
 
   <target name="declare" description="define tasks for jflex and cup">
     <taskdef classname="JFlex.anttask.JFlexTask" name="jflex" classpath="${jflex.jar}"/>
-    <taskdef classname="java_cup.AntTask" name="cup" classpath="${cup.jar}"/>
+    <taskdef classname="java_cup.anttask.CUPTask" name="cup" classpath="${cup.jar}"/>
   </target>
 
   <target name="gettools" description="download development tools">
@@ -69,7 +69,7 @@
   </target>
 
   <target name="cup" depends="declare" description="generate parser">
-    <cup file="JFlex/LexParse.cup" dir="JFlex" interface="true" parser="LexParse" />
+    <cup srcfile="JFlex/LexParse.cup" interface="true" parser="LexParse" />
   </target>
 
   <target name="copy" description="copy resources to build dir">
@@ -79,7 +79,8 @@
 
   <target name="jar" depends="compile,copy" description="make JFlex.jar">
     <jar basedir="../lib" 
-    	 includes="JFlex/**,java_cup/**,skeleton" 
+    	 includes="JFlex/**,java_cup/**,skeleton"
+    	 excludes="JFlex/tests/*" 
     	 jarfile="../lib/JFlex.jar" 
     	 manifest="manifest"/>
   </target>