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