Permalink
Browse files

Ant build file added

  • Loading branch information...
1 parent 5a094c5 commit 452361af01217a14df63c0b00f0bbd25994e2629 @sparks committed Apr 10, 2010
Oops, something went wrong.
View
@@ -0,0 +1,44 @@
+<project name="themidibus" basedir="." default="main">
+
+ <property name="processing.dir" value="/Applications/Processing.app/Contents/Resources/Java/"/>
+
+ <property name="src.dir" value="src"/>
+ <property name="build.dir" value="bin"/>
+ <property name="ref.dir" value="reference"/>
+
+ <path id="classpath">
+ <fileset dir="${processing.dir}" includes="core.jar"/>
+ </path>
+
+ <target name="clean">
+ <delete dir="${build.dir}"/>
+ </target>
+
+ <target name="compile">
+ <mkdir dir="${build.dir}"/>
+ <javac srcdir="${src.dir}" sourcepath="" destdir="${build.dir}" classpathref="classpath">
+ <include name="**/*.java"/>
+ <exclude name="**/PApplet.java"/>
+ </javac>
+ </target>
+
+ <target name="jar" depends="compile">
+ <jar destfile="library/${ant.project.name}.jar" basedir="${build.dir}"/>
+ </target>
+
+ <target name="main" depends="jar">
+ <antcall target="clean"/>
+ </target>
+
+ <target name="doc">
+ <mkdir dir="${ref.dir}"/>
+ <javadoc packagenames="themidibus.*" sourcepath="${src.dir}" destdir="${ref.dir}" author="true" version="true" classpathref="classpath"/>
+ </target>
+
+ <target name="zip">
+ <zip destfile="themidibus.zip">
+ <zipfileset dir="." includes="examples/**/*, library/**/*, reference/**/*, src/**/*, CHANGELOG.txt, INSTALL.txt, build.xml" excludes="**/*.DS_Store" prefix="themidibus"/>
+ </zip>
+ </target>
+
+</project>
View
Binary file not shown.
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_22) on Sat Dec 12 14:09:16 EST 2009 -->
+<!-- Generated by javadoc (build 1.5.0_22) on Fri Apr 09 23:37:55 EDT 2010 -->
<TITLE>
All Classes
</TITLE>
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_22) on Sat Dec 12 14:09:16 EST 2009 -->
+<!-- Generated by javadoc (build 1.5.0_22) on Fri Apr 09 23:37:55 EDT 2010 -->
<TITLE>
All Classes
</TITLE>
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_22) on Sat Dec 12 14:09:16 EST 2009 -->
+<!-- Generated by javadoc (build 1.5.0_22) on Fri Apr 09 23:37:55 EDT 2010 -->
<TITLE>
Constant Field Values
</TITLE>
@@ -35,7 +35,7 @@
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="themidibus/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="themidibus/package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
@@ -95,7 +95,7 @@
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="themidibus/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="themidibus/package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_22) on Sat Dec 12 14:09:16 EST 2009 -->
+<!-- Generated by javadoc (build 1.5.0_22) on Fri Apr 09 23:37:55 EDT 2010 -->
<TITLE>
Deprecated List
</TITLE>
@@ -35,7 +35,7 @@
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="themidibus/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="themidibus/package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Deprecated</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
@@ -95,7 +95,7 @@
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="themidibus/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="themidibus/package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Deprecated</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_22) on Sat Dec 12 14:09:16 EST 2009 -->
+<!-- Generated by javadoc (build 1.5.0_22) on Fri Apr 09 23:37:55 EDT 2010 -->
<TITLE>
API Help
</TITLE>
@@ -35,7 +35,7 @@
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="themidibus/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="themidibus/package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Help</B></FONT>&nbsp;</TD>
@@ -162,7 +162,7 @@
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="themidibus/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="themidibus/package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Help</B></FONT>&nbsp;</TD>
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_22) on Sat Dec 12 14:09:16 EST 2009 -->
+<!-- Generated by javadoc (build 1.5.0_22) on Fri Apr 09 23:37:55 EDT 2010 -->
<TITLE>
Index
</TITLE>
@@ -35,7 +35,7 @@
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./themidibus/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./themidibus/package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
@@ -353,7 +353,7 @@
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./themidibus/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./themidibus/package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc on Sat Dec 12 14:09:16 EST 2009-->
+<!-- Generated by javadoc on Fri Apr 09 23:37:55 EDT 2010-->
<TITLE>
Generated Documentation (Untitled)
</TITLE>
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_22) on Sat Dec 12 14:09:16 EST 2009 -->
+<!-- Generated by javadoc (build 1.5.0_22) on Fri Apr 09 23:37:55 EDT 2010 -->
<TITLE>
Class Hierarchy
</TITLE>
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_22) on Sat Dec 12 14:09:15 EST 2009 -->
+<!-- Generated by javadoc (build 1.5.0_22) on Fri Apr 09 23:37:54 EDT 2010 -->
<TITLE>
MidiBus
</TITLE>
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_22) on Sat Dec 12 14:09:16 EST 2009 -->
+<!-- Generated by javadoc (build 1.5.0_22) on Fri Apr 09 23:37:55 EDT 2010 -->
<TITLE>
MidiListener
</TITLE>
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_22) on Sat Dec 12 14:09:16 EST 2009 -->
+<!-- Generated by javadoc (build 1.5.0_22) on Fri Apr 09 23:37:55 EDT 2010 -->
<TITLE>
PApplet
</TITLE>
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_22) on Sat Dec 12 14:09:16 EST 2009 -->
+<!-- Generated by javadoc (build 1.5.0_22) on Fri Apr 09 23:37:55 EDT 2010 -->
<TITLE>
RawMidiListener
</TITLE>
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_22) on Sat Dec 12 14:09:16 EST 2009 -->
+<!-- Generated by javadoc (build 1.5.0_22) on Fri Apr 09 23:37:55 EDT 2010 -->
<TITLE>
SimpleMidiListener
</TITLE>
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_22) on Sat Dec 12 14:09:16 EST 2009 -->
+<!-- Generated by javadoc (build 1.5.0_22) on Fri Apr 09 23:37:55 EDT 2010 -->
<TITLE>
StandardMidiListener
</TITLE>
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_22) on Sat Dec 12 14:09:16 EST 2009 -->
+<!-- Generated by javadoc (build 1.5.0_22) on Fri Apr 09 23:37:55 EDT 2010 -->
<TITLE>
themidibus
</TITLE>
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_22) on Sat Dec 12 14:09:16 EST 2009 -->
+<!-- Generated by javadoc (build 1.5.0_22) on Fri Apr 09 23:37:55 EDT 2010 -->
<TITLE>
themidibus
</TITLE>
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_22) on Sat Dec 12 14:09:16 EST 2009 -->
+<!-- Generated by javadoc (build 1.5.0_22) on Fri Apr 09 23:37:55 EDT 2010 -->
<TITLE>
themidibus Class Hierarchy
</TITLE>
View
@@ -1,96 +0,0 @@
-#!/bin/bash
-
-echo
-echo "Compile Script for The MidiBus library"
-echo "======================================"
-cd `dirname $0`
-
-echo "Setting up ..."
-
-ERROR=0
-CREATED=0
-
-if [ ! -d ./bin ]
- then
- if ! mkdir ./bin
- then
- echo "Setup failed!"
- echo
- exit 1
- else
- CREATED=1
- fi
-fi
-
-if [ -f ./PApplet.java ]
- then
- if ! mv ./PApplet.java ./PApplet.java.bak
- then
- echo "Setup failed!"
- echo
- exit 1
- fi
-fi
-
-echo "Compiling ..."
-
-if ! javac -d ./bin -classpath /Applications/Processing.app/Contents/Resources/Java/core.jar *.java
- then
- echo "Compile failed!"
- echo
- exit 1
-fi
-
-cd ./bin
-echo "Making jar file ..."
-
-if ! jar -cf themidibus.jar ./themidibus/
- then
- echo "Failed to make jar file!"
- echo
- exit 1
-fi
-
-echo "Moving jar file ..."
-
-if ! mv ./themidibus.jar ../../library/themidibus.jar
- then
- echo "Failed to move themidibus.jar"
- echo
- exit 1
-fi
-
-cd ..
-echo "Cleaning up ..."
-
-if [ $CREATED = 1 ]
- then
- if ! rm -r ./bin/
- then
- echo "Failed to delete tmp files!"
- echo
- ERROR=1
- fi
-
- else
- if ! rm -r ./bin/themidibus/
- then
- echo "Failed to delete tmp files!"
- echo
- ERROR=1
- fi
-fi
-
-if [ -f ./PApplet.java.bak ]
- then
- if ! mv ./PApplet.java.bak ./PApplet.java
- then
- echo "Failed to rename PApplet"
- echo
- ERROR=1
- fi
-fi
-
-echo "Done!"
-echo
-exit $ERROR
Oops, something went wrong.

0 comments on commit 452361a

Please sign in to comment.