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="Reha">
8 <property environment="env"/>
9 <property name="Libraries.location" value="../Libraries"/>
10 <property name="ECLIPSE_HOME" value="../../../../usr/lib/eclipse"/>
11 <property name="Nebraska.location" value="../Nebraska"/>
12 <property name="TheraPiUpdates.location" value="../TheraPiUpdates"/>
13 <property name="debuglevel" value="source,lines,vars"/>
14 <property name="target" value="1.6"/>
15 <property name="source" value="1.6"/>
16 <import file="build-user.xml"/>
17 <path id="Nebraska.classpath">
18 <pathelement location="${Nebraska.location}/bin"/>
19 <pathelement location="${Libraries.location}/lib/openofficeorg/unoloader.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/bcprov-ext-jdk16-145.jar"/>
33 <pathelement location="${Libraries.location}/lib/forms-1.2.1.jar"/>
34 <pathelement location="${Libraries.location}/lib/base-core.jar"/>
35 <pathelement location="${Libraries.location}/lib/swingx-1.6.jar"/>
36 <pathelement location="${Libraries.location}/lib/bcmail-jdk16-145.jar"/>
37 <pathelement location="${Libraries.location}/lib/iText-2.1.6.jar"/>
38 <pathelement location="${Libraries.location}/lib/pdf-renderer-1.0.5.jar"/>
39 <pathelement location="${Libraries.location}/lib/swingx/swing-worker.jar"/>
40 <pathelement location="${Libraries.location}/lib/openofficeorg/ag.ion.noa_2.2.3.jar"/>
42 <path id="Libraries.classpath"/>
43 <path id="TheraPiUpdates.classpath">
44 <pathelement location="${TheraPiUpdates.location}/bin"/>
45 <pathelement location="${Libraries.location}/lib/swingx/swingx-1.6.jar"/>
46 <pathelement location="${Libraries.location}/lib/swingx/swing-worker.jar"/>
47 <pathelement location="${Libraries.location}/lib/jgoodies/looks-2.3.1.jar"/>
48 <pathelement location="${Libraries.location}/lib/sql/mysql-connector-java-5.1.5-bin.jar"/>
49 <path refid="Libraries.classpath"/>
50 <pathelement location="${Libraries.location}/lib/apachecommons/commons-net-2.0.jar"/>
51 <pathelement location="${Libraries.location}/lib/jgoodies/forms-1.3.0.jar"/>
52 <pathelement location="${Libraries.location}/lib/jgoodies/jgoodies-common-0.9.9.jar"/>
54 <path id="Reha.classpath">
55 <pathelement location="bin"/>
56 <pathelement location="${Libraries.location}/lib/swingx/swingx-1.6.jar"/>
57 <pathelement location="${Libraries.location}/lib/swingx/pdf-renderer-1.0.5.jar"/>
58 <pathelement location="${Libraries.location}/lib/swingx/swing-worker.jar"/>
59 <pathelement location="${Libraries.location}/lib/swingx/grad.jar"/>
60 <pathelement location="${Libraries.location}/lib/sql/mysql-connector-java-5.1.5-bin.jar"/>
61 <pathelement location="${Libraries.location}/lib/sql/adsjdbc.jar"/>
62 <pathelement location="${Libraries.location}/lib/jgoodies/forms-1.3.0.jar"/>
63 <pathelement location="${Libraries.location}/lib/jgoodies/jgoodies-common-0.9.9.jar"/>
64 <pathelement location="${Libraries.location}/lib/itext/iText-2.1.6.jar"/>
65 <pathelement location="${Libraries.location}/lib/openofficeorg/unoloader.jar"/>
66 <pathelement location="${Libraries.location}/lib/openofficeorg/bootstrapconnector.jar"/>
67 <pathelement location="${Libraries.location}/lib/openofficeorg/java_uno.jar"/>
68 <pathelement location="${Libraries.location}/lib/openofficeorg/java_uno_accessbridge.jar"/>
69 <pathelement location="${Libraries.location}/lib/openofficeorg/juh.jar"/>
70 <pathelement location="${Libraries.location}/lib/openofficeorg/jurt.jar"/>
71 <pathelement location="${Libraries.location}/lib/openofficeorg/jut.jar"/>
72 <pathelement location="${Libraries.location}/lib/openofficeorg/nativeunix.zip"/>
73 <pathelement location="${Libraries.location}/lib/openofficeorg/officebean.jar"/>
74 <pathelement location="${Libraries.location}/lib/openofficeorg/registry-3.1.3.jar"/>
75 <pathelement location="${Libraries.location}/lib/openofficeorg/ridl.jar"/>
76 <pathelement location="${Libraries.location}/lib/openofficeorg/sandbox.jar"/>
77 <pathelement location="${Libraries.location}/lib/openofficeorg/unoil.jar"/>
78 <pathelement location="${Libraries.location}/lib/mmscomputing/uk.co.mmscomputing.device.twain.jar"/>
79 <pathelement location="${Libraries.location}/lib/mmscomputing/uk.co.mmscomputing.device.sane.jar"/>
80 <pathelement location="${Libraries.location}/lib/jgoodies/looks-2.3.1.jar"/>
81 <pathelement location="${Libraries.location}/lib/jna_junit/junit-4.5.jar"/>
82 <pathelement location="${Libraries.location}/lib/jna_junit/jna_WindowUtils.jar"/>
83 <pathelement location="${Libraries.location}/lib/net/smtp.jar"/>
84 <pathelement location="${Libraries.location}/lib/net/mail.jar"/>
85 <pathelement location="${Libraries.location}/lib/jna_junit/jna-3.2.4.jar"/>
86 <pathelement location="${Libraries.location}/lib/sql/jpmdbc.jar"/>
87 <pathelement location="${Libraries.location}/lib/openofficeorg/ag.ion.noa_2.2.3.jar"/>
88 <path refid="Nebraska.classpath"/>
89 <path refid="TheraPiUpdates.classpath"/>
90 <pathelement location="${Libraries.location}/lib/ocf/OpenCard.jar"/>
91 <pathelement location="${Libraries.location}/lib/jmf/jmf.jar"/>
92 <pathelement location="${Libraries.location}/lib/serial/comm.jar"/>
96 <copy includeemptydirs="false" todir="bin">
98 <exclude name="**/*.launch"/>
99 <exclude name="**/*.java"/>
102 <copy includeemptydirs="false" todir="bin">
104 <exclude name="**/*.launch"/>
105 <exclude name="**/*.java"/>
106 <exclude name="src/"/>
110 <target name="clean">
113 <target depends="clean" name="cleanall">
114 <ant antfile="${Libraries.location}/build.xml" dir="${Libraries.location}" inheritAll="false" target="clean"/>
115 <ant antfile="${Nebraska.location}/build.xml" dir="${Nebraska.location}" inheritAll="false" target="clean"/>
116 <ant antfile="${TheraPiUpdates.location}/build.xml" dir="${TheraPiUpdates.location}" inheritAll="false" target="clean"/>
118 <target depends="build-subprojects,build-project" name="build"/>
119 <target name="build-subprojects">
120 <ant antfile="${Libraries.location}/build.xml" dir="${Libraries.location}" inheritAll="false" target="build-project">
122 <propertyref name="build.compiler"/>
125 <ant antfile="${Nebraska.location}/build.xml" dir="${Nebraska.location}" inheritAll="false" target="build-project">
127 <propertyref name="build.compiler"/>
130 <ant antfile="${TheraPiUpdates.location}/build.xml" dir="${TheraPiUpdates.location}" inheritAll="false" target="build-project">
132 <propertyref name="build.compiler"/>
136 <target depends="init" name="build-project">
137 <echo message="${ant.project.name}: ${ant.file}"/>
138 <javac debug="true" debuglevel="${debuglevel}" destdir="bin" source="${source}" target="${target}">
140 <classpath refid="Reha.classpath"/>
142 <javac debug="true" debuglevel="${debuglevel}" destdir="bin" source="${source}" target="${target}">
144 <exclude name="src/"/>
145 <classpath refid="Reha.classpath"/>
148 <target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects"/>
149 <target description="copy Eclipse compiler jars to ant lib directory" name="init-eclipse-compiler">
150 <copy todir="${ant.library.dir}">
151 <fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
153 <unzip dest="${ant.library.dir}">
154 <patternset includes="jdtCompilerAdapter.jar"/>
155 <fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
158 <target description="compile project with Eclipse compiler" name="build-eclipse-compiler">
159 <property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
160 <antcall target="build"/>