*** empty log message ***
[thera-pi.git] / PDFLoader / build.xml
blobd586b1e6b7e25bc7c3eebe502a229ced6a93c50d
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="PDFLoader">
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="PDFLoader.classpath">
16         <pathelement location="bin"/>
17         <pathelement location="${Libraries.location}/lib/swingx/swing-worker.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/jgoodies/looks-2.3.1.jar"/>
21         <pathelement location="${Libraries.location}/lib/itext/iText-2.1.6.jar"/>
22         <pathelement location="${Libraries.location}/lib/sql/mysql-connector-java-5.1.5-bin.jar"/>
23         <pathelement location="${Libraries.location}/lib/swingx/swingx-1.6.jar"/>
24     </path>
25     <target name="init">
26         <mkdir dir="bin"/>
27         <copy includeemptydirs="false" todir="bin">
28             <fileset dir="src">
29                 <exclude name="**/*.launch"/>
30                 <exclude name="**/*.java"/>
31             </fileset>
32         </copy>
33     </target>
34     <target name="clean">
35         <delete dir="bin"/>
36     </target>
37     <target depends="clean" name="cleanall"/>
38     <target depends="build-subprojects,build-project" name="build"/>
39     <target name="build-subprojects"/>
40     <target depends="init" name="build-project">
41         <echo message="${ant.project.name}: ${ant.file}"/>
42         <javac debug="true" debuglevel="${debuglevel}" destdir="bin" source="${source}" target="${target}">
43             <src path="src"/>
44             <classpath refid="PDFLoader.classpath"/>
45         </javac>
46     </target>
47     <target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects"/>
48     <target description="copy Eclipse compiler jars to ant lib directory" name="init-eclipse-compiler">
49         <copy todir="${ant.library.dir}">
50             <fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
51         </copy>
52         <unzip dest="${ant.library.dir}">
53             <patternset includes="jdtCompilerAdapter.jar"/>
54             <fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
55         </unzip>
56     </target>
57     <target description="compile project with Eclipse compiler" name="build-eclipse-compiler">
58         <property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
59         <antcall target="build"/>
60     </target>
61 </project>