Compile for java 7

This commit is contained in:
Iwan Timmer
2015-02-16 16:57:32 +01:00
parent a2a1df4ce3
commit 6947f3d4f7

View File

@@ -1,5 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project default="all" name="Create Runnable Jar for Limelight">
<property name="ant.build.javac.target" value="1.7"/>
<property name="ant.build.javac.source" value="1.7"/>
<property name="src.dir" location="${basedir}/src"/>
<property name="libs.dir" location="${basedir}/libs"/>
@@ -104,7 +107,8 @@
<target name="compile-common" depends="init">
<!-- compile limelight -->
<javac includeantruntime="false" destdir="${classes.dir}/common">
<src path="${common.src.dir}"/>
<src path="${common.src.dir}"/>java
<classpath>
<fileset dir="${common.libs.dir}" includes="*.jar"/>
</classpath>