*** empty log message ***
[thera-pi.git] / RehaxSwing / build.xml
blob23adce3f9a319d3bed0df273ba1001091db472f0
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <!-- WARNING: Eclipse auto-generated file.
3               Any modifications will be overwritten.
4               To include a user specific buildfile here, simply create one in the same
5               directory with the processing instruction <?eclipse.ant.import?>
6               as the first entry and export the buildfile again. -->
7 <project basedir="." default="build" name="RehaxSwing">
8     <property environment="env"/>
9     <property name="Libraries.location" value="../Libraries"/>
10     <property name="ECLIPSE_HOME" value="../../../../usr/lib/eclipse"/>
11     <property name="debuglevel" value="source,lines,vars"/>
12     <property name="target" value="1.6"/>
13     <property name="source" value="1.6"/>
14     <import file="build-user.xml"/>
15     <path id="RehaxSwing.classpath">
16         <pathelement location="bin"/>
17         <pathelement location="${Libraries.location}/lib/swingx/swingx-1.6.jar"/>
18         <pathelement location="${Libraries.location}/lib/swingx/swing-worker.jar"/>
19     </path>
20     <target name="init">
21         <mkdir dir="bin"/>
22         <copy includeemptydirs="false" todir="bin">
23             <fileset dir="src">
24                 <exclude name="**/*.launch"/>
25                 <exclude name="**/*.java"/>
26             </fileset>
27         </copy>
28     </target>
29     <target name="clean">
30         <delete dir="bin"/>
31     </target>
32     <target depends="clean" name="cleanall"/>
33     <target depends="build-subprojects,build-project" name="build"/>
34     <target name="build-subprojects"/>
35     <target depends="init" name="build-project">
36         <echo message="${ant.project.name}: ${ant.file}"/>
37         <javac debug="true" debuglevel="${debuglevel}" destdir="bin" source="${source}" target="${target}">
38             <src path="src"/>
39             <classpath refid="RehaxSwing.classpath"/>
40         </javac>
41     </target>
42     <target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects"/>
43     <target description="copy Eclipse compiler jars to ant lib directory" name="init-eclipse-compiler">
44         <copy todir="${ant.library.dir}">
45             <fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
46         </copy>
47         <unzip dest="${ant.library.dir}">
48             <patternset includes="jdtCompilerAdapter.jar"/>
49             <fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
50         </unzip>
51     </target>
52     <target description="compile project with Eclipse compiler" name="build-eclipse-compiler">
53         <property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
54         <antcall target="build"/>
55     </target>
56 </project>