aboutsummaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
Diffstat (limited to '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>