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="PiTool">
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="PiTool.classpath">
16 <pathelement location="bin"/>
17 <pathelement location="${Libraries.location}/lib/sql/mysql-connector-java-5.1.5-bin.jar"/>
18 <pathelement location="${Libraries.location}/lib/net/smtp.jar"/>
19 <pathelement location="${Libraries.location}/lib/net/mail.jar"/>
20 <pathelement location="${Libraries.location}/lib/jgoodies/jgoodies-common-0.9.9.jar"/>
21 <pathelement location="${Libraries.location}/lib/jgoodies/forms-1.3.0.jar"/>
25 <copy includeemptydirs="false" todir="bin">
27 <exclude name="**/*.launch"/>
28 <exclude name="**/*.java"/>
35 <target depends="clean" name="cleanall"/>
36 <target depends="build-subprojects,build-project" name="build"/>
37 <target name="build-subprojects"/>
38 <target depends="init" name="build-project">
39 <echo message="${ant.project.name}: ${ant.file}"/>
40 <javac debug="true" debuglevel="${debuglevel}" destdir="bin" source="${source}" target="${target}">
42 <classpath refid="PiTool.classpath"/>
45 <target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects"/>
46 <target description="copy Eclipse compiler jars to ant lib directory" name="init-eclipse-compiler">
47 <copy todir="${ant.library.dir}">
48 <fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
50 <unzip dest="${ant.library.dir}">
51 <patternset includes="jdtCompilerAdapter.jar"/>
52 <fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
55 <target description="compile project with Eclipse compiler" name="build-eclipse-compiler">
56 <property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
57 <antcall target="build"/>