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