summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2009-10-08 18:18:41 +0200
committerMichael Bien <[email protected]>2009-10-08 18:18:41 +0200
commitce3fceeb101835866224988918b89098157d6e34 (patch)
treefe165278f71cb96f73bc55aeb9077fb1817b606b /make
parenteaceec3a8dde0054f1f1841ae4bcd9bd7ac9c773 (diff)
gluegen.jar compiles now with source=1.5 classfile version (However, gluegen-rt.jar still uses 1.4).
generified classes in pcpp package and removed warnings (java 5 cleanup).
Diffstat (limited to 'make')
-rwxr-xr-xmake/build.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/make/build.xml b/make/build.xml
index 9d56682..3f942d5 100755
--- a/make/build.xml
+++ b/make/build.xml
@@ -478,16 +478,32 @@
<!-- Build GlueGen using the generated Java files along with the
- original source. -->
+
+ <property name="gluegen-rt.classes" value="com/sun/gluegen/runtime/**"/>
+
+ <!--compile gluegen-rt with source=1.4 first-->
<javac destdir="${classes}"
source="1.4"
debug="true"
debuglevel="source,lines"
+ includes="${gluegen-rt.classes}"
excludes="${gluegen.excludes}">
<src path="${src.java}" />
<src path="${src.generated.java}" />
<classpath refid="antlr.classpath" />
</javac>
+ <!--compile gluegen with source=1.5-->
+ <javac destdir="${classes}"
+ source="1.5"
+ debug="true"
+ debuglevel="source,lines"
+ excludes="${gluegen.excludes},${gluegen-rt.classes}">
+ <src path="${src.java}" />
+ <src path="${src.generated.java}" />
+ <classpath refid="antlr.classpath" />
+ </javac>
+
<!-- Build gluegen.jar. -->
<jar destfile="${build}/gluegen.jar" manifest="Manifest">
<fileset dir="${classes}">