diff options
Diffstat (limited to 'make')
-rwxr-xr-x | make/build.xml | 16 |
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}"> |