diff options
author | Phil Burk <[email protected]> | 2016-02-04 15:15:12 -0800 |
---|---|---|
committer | Phil Burk <[email protected]> | 2016-02-04 15:15:12 -0800 |
commit | 083602a257bd5f53ddfa022766efcc316ac0cbb2 (patch) | |
tree | 4c3db293a94a06c985bc1aeba1c6ceadb117a888 /build.xml | |
parent | 965e52e948a2a6b15140e1fed4ab69be35f55094 (diff) |
Set Java target and source to 1.6 in build.xml.
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -8,6 +8,7 @@ <property name="dist" location="dist"/> <property name="main-class" value="com.jsyn.apps.AboutJSyn"/> <property name="jarname" value="jsyn"/> + <property name="java-version" value="1.6"/> <target name="init"> <!-- Create the time stamp --> @@ -19,7 +20,7 @@ <target name="compile" depends="init" description="compile the source " > <!-- Compile the java code from ${src} into ${build} --> - <javac srcdir="${src}" destdir="${build}"> + <javac target="${java-version}" source="${java-version}" srcdir="${src}" destdir="${build}"> <classpath> <pathelement path="libs/jportaudio.jar"/> </classpath> |