antlr/java150_build.patch

21 lines
652 B
Diff

Index: antlr-2.7.6/build.xml
===================================================================
--- antlr-2.7.6.orig/build.xml
+++ antlr-2.7.6/build.xml
@@ -36,6 +36,7 @@
<!-- Build classes -->
<target name="classes" depends="prepare">
<javac srcdir="${src}" destdir="${build.classes}"
+ source="1.4" target="1.4"
debug="off" optimize="on" deprecation="on"/>
</target>
@@ -52,6 +53,7 @@
<!-- Build the full JavaDocs -->
<target name="javadoc" depends="prepare">
<javadoc sourcepath="${src}"
+ source="1.4"
destdir="${build.doc}"
doctitle="${name} Javadoc"
windowtitle="${name} Javadoc"