diff options
author | Sven Gothel <[email protected]> | 2009-10-12 17:12:24 -0700 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2009-10-12 17:12:24 -0700 |
commit | 3c5fe7f58a2e7816c86ab0b85fb3a4e7cd2113ce (patch) | |
tree | 5b1dfa3708f3f760d984f7cb41d847552e6b6bea /make | |
parent | 22e98bcb38d51c5f9170d4d3d5afea89647413d4 (diff) | |
parent | 03bf321dc0aac6a2bc635093d634e1c8e67f8d43 (diff) |
Merge branch 'master' of ssh://git.kenai.com/gluegen~gluegen-git
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}"> |