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