*** empty log message ***
[thera-pi.git] / TheraPiHilfe / build.xml
blobc2d82abaa2db252079b29fa2826921f52615f291
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="TheraPiHilfe">
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="TheraPiHilfe.classpath">
16         <pathelement location="bin"/>
17         <pathelement location="${Libraries.location}/lib/jgoodies/looks-2.3.1.jar"/>
18         <pathelement location="${Libraries.location}/lib/jgoodies/forms-1.3.0.jar"/>
19         <pathelement location="${Libraries.location}/lib/jgoodies/jgoodies-common-0.9.9.jar"/>
20         <pathelement location="${Libraries.location}/lib/openofficeorg/bootstrapconnector.jar"/>
21         <pathelement location="${Libraries.location}/lib/openofficeorg/java_uno.jar"/>
22         <pathelement location="${Libraries.location}/lib/openofficeorg/java_uno_accessbridge.jar"/>
23         <pathelement location="${Libraries.location}/lib/openofficeorg/juh.jar"/>
24         <pathelement location="${Libraries.location}/lib/openofficeorg/junit-3.8.1.jar"/>
25         <pathelement location="${Libraries.location}/lib/openofficeorg/jurt.jar"/>
26         <pathelement location="${Libraries.location}/lib/openofficeorg/jut.jar"/>
27         <pathelement location="${Libraries.location}/lib/openofficeorg/officebean.jar"/>
28         <pathelement location="${Libraries.location}/lib/openofficeorg/registry-3.1.3.jar"/>
29         <pathelement location="${Libraries.location}/lib/openofficeorg/ridl.jar"/>
30         <pathelement location="${Libraries.location}/lib/openofficeorg/sandbox.jar"/>
31         <pathelement location="${Libraries.location}/lib/openofficeorg/unoil.jar"/>
32         <pathelement location="${Libraries.location}/lib/openofficeorg/unoloader.jar"/>
33         <pathelement location="${Libraries.location}/lib/sql/mysql-connector-java-5.1.5-bin.jar"/>
34         <pathelement location="${Libraries.location}/lib/swingx/swingx-1.6.jar"/>
35         <pathelement location="${Libraries.location}/lib/swingx/swing-worker.jar"/>
36         <pathelement location="${Libraries.location}/lib/apachecommons/commons-net-2.0.jar"/>
37         <pathelement location="${Libraries.location}/lib/openofficeorg/ag.ion.noa_2.2.3.jar"/>
38         <pathelement location="${Libraries.location}/lib/sql/jpmdbc.jar"/>
39     </path>
40     <target name="init">
41         <mkdir dir="bin"/>
42         <copy includeemptydirs="false" todir="bin">
43             <fileset dir="src">
44                 <exclude name="**/*.launch"/>
45                 <exclude name="**/*.java"/>
46             </fileset>
47         </copy>
48     </target>
49     <target name="clean">
50         <delete dir="bin"/>
51     </target>
52     <target depends="clean" name="cleanall"/>
53     <target depends="build-subprojects,build-project" name="build"/>
54     <target name="build-subprojects"/>
55     <target depends="init" name="build-project">
56         <echo message="${ant.project.name}: ${ant.file}"/>
57         <javac debug="true" debuglevel="${debuglevel}" destdir="bin" source="${source}" target="${target}">
58             <src path="src"/>
59             <classpath refid="TheraPiHilfe.classpath"/>
60         </javac>
61     </target>
62     <target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects"/>
63     <target description="copy Eclipse compiler jars to ant lib directory" name="init-eclipse-compiler">
64         <copy todir="${ant.library.dir}">
65             <fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
66         </copy>
67         <unzip dest="${ant.library.dir}">
68             <patternset includes="jdtCompilerAdapter.jar"/>
69             <fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
70         </unzip>
71     </target>
72     <target description="compile project with Eclipse compiler" name="build-eclipse-compiler">
73         <property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
74         <antcall target="build"/>
75     </target>
76 </project>