refactored asunder and added build scripts
[stereo.git] / Asunder / build.xml
blobb8075008a32cbfd7f621cc966b62da23738e6d12
1 <?xml version="1.0" encoding="UTF-8"?>
3 <!DOCTYPE project [
4        <!ENTITY common SYSTEM "../common.xml">
5 ]>
7 <project basedir="." default="build" name="Asunder" xmlns:ivy="antlib:org.apache.ivy.ant">
9   &common;
11   <path id="Asunder.classpath">
12     <pathelement location="bin"/>
13     <fileset dir="${lib.dir}">
14       <include name="**/*.jar"/>
15     </fileset>
16   </path>
18   <target name="init" depends="resolve">
19     <mkdir dir="bin"/>
20     <copy includeemptydirs="false" todir="bin">
21       <fileset dir="src" excludes="**/*.java"/>
22     </copy>
23   </target>
25   <target name="build-subprojects"/>
27   <target depends="init" name="build-project">
28     <echo message="${ant.project.name}: ${ant.file}"/>
29     <javac debug="true" debuglevel="${debuglevel}" destdir="bin" source="${source}" target="${target}">
30       <src path="src"/>
31       <classpath refid="Asunder.classpath"/>
32     </javac>
33   </target>
35 </project>