*** empty log message ***
[thera-pi.git] / Libraries / build.xml
blobff865a66a44649fd1feb29bd78609d475967d9e5
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="Libraries">
8     <property environment="env"/>
9     <property name="ArztBaustein.location" value="../ArztBaustein"/>
10     <property name="BMIRechner.location" value="../BMIRechner"/>
11     <property name="LVAEntlassmitteilung.location" value="../LVAEntlassmitteilung"/>
12     <property name="Nebraska.location" value="../Nebraska"/>
13     <property name="OffenePosten.location" value="../OffenePosten"/>
14     <property name="OpRgaf.location" value="../OpRgaf"/>
15     <property name="Reha301.location" value="../Reha301"/>
16     <property name="RehaBillEdit.location" value="../RehaBillEdit"/>
17     <property name="RehaKassenbuch.location" value="../RehaKassenbuch"/>
18     <property name="RehaMail.location" value="../RehaMail"/>
19     <property name="RehaSql.location" value="../RehaSql"/>
20     <property name="RehaStatistik.location" value="../RehaStatistik"/>
21     <property name="RehaUrlaub.location" value="../RehaUrlaub"/>
22     <property name="TextB.location" value="../TextB"/>
23     <property name="TheraPi.location" value="../TheraPi"/>
24     <property name="TheraPiUpdates.location" value="../TheraPiUpdates"/>
25     <property name="ECLIPSE_HOME" value="../../../../usr/lib/eclipse"/>
26     <property name="debuglevel" value="source,lines,vars"/>
27     <property name="target" value="1.6"/>
28     <property name="source" value="1.6"/>
29     <import file="build-user.xml"/>
30     <path id="Libraries.classpath">
31         <pathelement location="bin"/>
32     </path>
33     <target name="init">
34         <mkdir dir="bin"/>
35         <copy includeemptydirs="false" todir="bin">
36             <fileset dir="src">
37                 <exclude name="**/*.launch"/>
38                 <exclude name="**/*.java"/>
39             </fileset>
40         </copy>
41     </target>
42     <target name="clean">
43         <delete dir="bin"/>
44     </target>
45     <target depends="clean" name="cleanall"/>
46     <target depends="build-subprojects,build-project" name="build"/>
47     <target name="build-subprojects"/>
48     <target depends="init" name="build-project">
49         <echo message="${ant.project.name}: ${ant.file}"/>
50         <javac debug="true" debuglevel="${debuglevel}" destdir="bin" source="${source}" target="${target}">
51             <src path="src"/>
52             <classpath refid="Libraries.classpath"/>
53         </javac>
54     </target>
55     <target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects">
56         <ant antfile="${ArztBaustein.location}/build.xml" dir="${ArztBaustein.location}" inheritAll="false" target="clean"/>
57         <ant antfile="${ArztBaustein.location}/build.xml" dir="${ArztBaustein.location}" inheritAll="false" target="build">
58             <propertyset>
59                 <propertyref name="build.compiler"/>
60             </propertyset>
61         </ant>
62         <ant antfile="${BMIRechner.location}/build.xml" dir="${BMIRechner.location}" inheritAll="false" target="clean"/>
63         <ant antfile="${BMIRechner.location}/build.xml" dir="${BMIRechner.location}" inheritAll="false" target="build">
64             <propertyset>
65                 <propertyref name="build.compiler"/>
66             </propertyset>
67         </ant>
68         <ant antfile="${LVAEntlassmitteilung.location}/build.xml" dir="${LVAEntlassmitteilung.location}" inheritAll="false" target="clean"/>
69         <ant antfile="${LVAEntlassmitteilung.location}/build.xml" dir="${LVAEntlassmitteilung.location}" inheritAll="false" target="build">
70             <propertyset>
71                 <propertyref name="build.compiler"/>
72             </propertyset>
73         </ant>
74         <ant antfile="${Nebraska.location}/build.xml" dir="${Nebraska.location}" inheritAll="false" target="clean"/>
75         <ant antfile="${Nebraska.location}/build.xml" dir="${Nebraska.location}" inheritAll="false" target="build">
76             <propertyset>
77                 <propertyref name="build.compiler"/>
78             </propertyset>
79         </ant>
80         <ant antfile="${OffenePosten.location}/build.xml" dir="${OffenePosten.location}" inheritAll="false" target="clean"/>
81         <ant antfile="${OffenePosten.location}/build.xml" dir="${OffenePosten.location}" inheritAll="false" target="build">
82             <propertyset>
83                 <propertyref name="build.compiler"/>
84             </propertyset>
85         </ant>
86         <ant antfile="${OpRgaf.location}/build.xml" dir="${OpRgaf.location}" inheritAll="false" target="clean"/>
87         <ant antfile="${OpRgaf.location}/build.xml" dir="${OpRgaf.location}" inheritAll="false" target="build">
88             <propertyset>
89                 <propertyref name="build.compiler"/>
90             </propertyset>
91         </ant>
92         <ant antfile="${Reha301.location}/build.xml" dir="${Reha301.location}" inheritAll="false" target="clean"/>
93         <ant antfile="${Reha301.location}/build.xml" dir="${Reha301.location}" inheritAll="false" target="build">
94             <propertyset>
95                 <propertyref name="build.compiler"/>
96             </propertyset>
97         </ant>
98         <ant antfile="${RehaBillEdit.location}/build.xml" dir="${RehaBillEdit.location}" inheritAll="false" target="clean"/>
99         <ant antfile="${RehaBillEdit.location}/build.xml" dir="${RehaBillEdit.location}" inheritAll="false" target="build">
100             <propertyset>
101                 <propertyref name="build.compiler"/>
102             </propertyset>
103         </ant>
104         <ant antfile="${RehaKassenbuch.location}/build.xml" dir="${RehaKassenbuch.location}" inheritAll="false" target="clean"/>
105         <ant antfile="${RehaKassenbuch.location}/build.xml" dir="${RehaKassenbuch.location}" inheritAll="false" target="build">
106             <propertyset>
107                 <propertyref name="build.compiler"/>
108             </propertyset>
109         </ant>
110         <ant antfile="${RehaMail.location}/build.xml" dir="${RehaMail.location}" inheritAll="false" target="clean"/>
111         <ant antfile="${RehaMail.location}/build.xml" dir="${RehaMail.location}" inheritAll="false" target="build">
112             <propertyset>
113                 <propertyref name="build.compiler"/>
114             </propertyset>
115         </ant>
116         <ant antfile="${RehaSql.location}/build.xml" dir="${RehaSql.location}" inheritAll="false" target="clean"/>
117         <ant antfile="${RehaSql.location}/build.xml" dir="${RehaSql.location}" inheritAll="false" target="build">
118             <propertyset>
119                 <propertyref name="build.compiler"/>
120             </propertyset>
121         </ant>
122         <ant antfile="${RehaStatistik.location}/build.xml" dir="${RehaStatistik.location}" inheritAll="false" target="clean"/>
123         <ant antfile="${RehaStatistik.location}/build.xml" dir="${RehaStatistik.location}" inheritAll="false" target="build">
124             <propertyset>
125                 <propertyref name="build.compiler"/>
126             </propertyset>
127         </ant>
128         <ant antfile="${RehaUrlaub.location}/build.xml" dir="${RehaUrlaub.location}" inheritAll="false" target="clean"/>
129         <ant antfile="${RehaUrlaub.location}/build.xml" dir="${RehaUrlaub.location}" inheritAll="false" target="build">
130             <propertyset>
131                 <propertyref name="build.compiler"/>
132             </propertyset>
133         </ant>
134         <ant antfile="${TextB.location}/build.xml" dir="${TextB.location}" inheritAll="false" target="clean"/>
135         <ant antfile="${TextB.location}/build.xml" dir="${TextB.location}" inheritAll="false" target="build">
136             <propertyset>
137                 <propertyref name="build.compiler"/>
138             </propertyset>
139         </ant>
140         <ant antfile="${TheraPi.location}/build.xml" dir="${TheraPi.location}" inheritAll="false" target="clean"/>
141         <ant antfile="${TheraPi.location}/build.xml" dir="${TheraPi.location}" inheritAll="false" target="build">
142             <propertyset>
143                 <propertyref name="build.compiler"/>
144             </propertyset>
145         </ant>
146         <ant antfile="${TheraPiUpdates.location}/build.xml" dir="${TheraPiUpdates.location}" inheritAll="false" target="clean"/>
147         <ant antfile="${TheraPiUpdates.location}/build.xml" dir="${TheraPiUpdates.location}" inheritAll="false" target="build">
148             <propertyset>
149                 <propertyref name="build.compiler"/>
150             </propertyset>
151         </ant>
152     </target>
153     <target description="copy Eclipse compiler jars to ant lib directory" name="init-eclipse-compiler">
154         <copy todir="${ant.library.dir}">
155             <fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
156         </copy>
157         <unzip dest="${ant.library.dir}">
158             <patternset includes="jdtCompilerAdapter.jar"/>
159             <fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
160         </unzip>
161     </target>
162     <target description="compile project with Eclipse compiler" name="build-eclipse-compiler">
163         <property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
164         <antcall target="build"/>
165     </target>
166 </project>