aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Burk <[email protected]>2016-02-03 14:40:06 -0800
committerPhil Burk <[email protected]>2016-02-03 14:40:06 -0800
commit965e52e948a2a6b15140e1fed4ab69be35f55094 (patch)
tree56ba9a710d6af2db64a5f531f1ee27aa000c9772
parent43228d631ed31e47d8bfceb6b5c9c9e0621a122b (diff)
parentbb164b05ff0d9fb97bba19347c4730fb69096575 (diff)
Merge pull request #16 from philburk/fixbuild
Add jportaudio.jar to the classpath.
-rw-r--r--README.md13
-rw-r--r--build.xml6
2 files changed, 18 insertions, 1 deletions
diff --git a/README.md b/README.md
index d298be6..43425dd 100644
--- a/README.md
+++ b/README.md
@@ -24,3 +24,16 @@ http://www.softsynth.com/jsyn/
Pre-compiled JSyn JAR files are at:
http://www.softsynth.com/jsyn/developers/download.php
+
+To build JSyn, use ant. Just enter:
+
+ cd jsyn
+ ant
+
+The resulting jar will be placed in "/dist/lib/".
+To run the built-in test App on a desktop, enter something like this:
+
+ java -jar dist/lib/jsyn-20160203.jar
+
+but with the correct date.
+
diff --git a/build.xml b/build.xml
index e0a6ea0..00d8ed5 100644
--- a/build.xml
+++ b/build.xml
@@ -19,7 +19,11 @@
<target name="compile" depends="init"
description="compile the source " >
<!-- Compile the java code from ${src} into ${build} -->
- <javac srcdir="${src}" destdir="${build}"/>
+ <javac srcdir="${src}" destdir="${build}">
+ <classpath>
+ <pathelement path="libs/jportaudio.jar"/>
+ </classpath>
+ </javac>
</target>
<target name="dist" depends="compile"