java-jflex/java-jflex-1.4.1-build_xml.patch

33 lines
1.0 KiB
Diff

--- jflex-1.4.1/src/build.xml 2004-05-20 01:37:43.000000000 +0200
+++ jflex-1.4.1/src/build.xml-gil 2009-03-02 15:24:58.000000000 +0100
@@ -59,7 +59,14 @@
description="compile all classes">
<javac srcdir="."
destdir="../lib"
- target="1.1"
+ classpath="."
+ debug="on" />
+ </target>
+
+ <target name="compile-bootstrap"
+ description="compile all classes during a bootstrap">
+ <javac srcdir="."
+ destdir="../lib"
classpath="."
debug="on" />
</target>
@@ -93,6 +100,13 @@
<delete file="../lib/JFlex.jar" />
</target>
+ <target name="jar-bootstrap" depends="compile-bootstrap,copy" description="make JFlex.jar">
+ <jar basedir="../lib"
+ includes="JFlex/**,java_cup/**,skeleton"
+ jarfile="../lib/JFlex.jar"
+ manifest="manifest"/>
+ </target>
+
<target name="genclean" description="remove genrated classes">
<delete file="JFlex/LexScan.java" />
<delete file="JFlex/LexParse.java" />