aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Burk <[email protected]>2016-02-04 15:16:00 -0800
committerPhil Burk <[email protected]>2016-02-04 15:16:00 -0800
commit4f81b453628ed710a246fb7a4a1688905ee9cdfb (patch)
tree4c3db293a94a06c985bc1aeba1c6ceadb117a888
parent965e52e948a2a6b15140e1fed4ab69be35f55094 (diff)
parent083602a257bd5f53ddfa022766efcc316ac0cbb2 (diff)
Merge pull request #17 from philburk/jtarget
Set Java target and source to 1.6 in build.xml.
-rw-r--r--build.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/build.xml b/build.xml
index 00d8ed5..105f75c 100644
--- a/build.xml
+++ b/build.xml
@@ -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>