Typo corrected
[deliverable/titan.core.git] / titan_executor_api / TITAN_Executor_API_Demo / build.xml
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. --><project basedir="." default="build" name="TITAN_Executor_API_Demo">
7 <property environment="env"/>
8 <property name="ECLIPSE_HOME" value="../../../eclipse"/>
9 <property name="TITAN_Executor_API.location" value="../TITAN_Executor_API"/>
10 <property name="debuglevel" value="source,lines,vars"/>
11 <property name="target" value="1.7"/>
12 <property name="source" value="1.7"/>
13 <path id="TITAN_Executor_API.classpath">
14 <pathelement location="${TITAN_Executor_API.location}/bin"/>
15 </path>
16 <path id="TITAN_Executor_API_Demo.classpath">
17 <pathelement location="bin"/>
18 <path refid="TITAN_Executor_API.classpath"/>
19 </path>
20 <target name="init">
21 <mkdir dir="bin"/>
22 <copy includeemptydirs="false" todir="bin">
23 <fileset dir="src">
24 <exclude name="**/*.g"/>
25 <exclude name="**/*.java"/>
26 </fileset>
27 </copy>
28 </target>
29 <target name="clean">
30 <delete dir="bin"/>
31 </target>
32 <target depends="clean" name="cleanall">
33 <ant antfile="build.xml" dir="${TITAN_Executor_API.location}" inheritAll="false" target="clean"/>
34 </target>
35 <target depends="build-subprojects,build-project" name="build"/>
36 <target name="build-subprojects">
37 <ant antfile="build.xml" dir="${TITAN_Executor_API.location}" inheritAll="false" target="build-project">
38 <propertyset>
39 <propertyref name="build.compiler"/>
40 </propertyset>
41 </ant>
42 </target>
43 <target depends="init" name="build-project">
44 <echo message="${ant.project.name}: ${ant.file}"/>
45 <javac debug="true" debuglevel="${debuglevel}" destdir="bin" includeantruntime="false" source="${source}" target="${target}">
46 <src path="src"/>
47 <classpath refid="TITAN_Executor_API_Demo.classpath"/>
48 </javac>
49 </target>
50 <target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects"/>
51 <target description="copy Eclipse compiler jars to ant lib directory" name="init-eclipse-compiler">
52 <copy todir="${ant.library.dir}">
53 <fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
54 </copy>
55 <unzip dest="${ant.library.dir}">
56 <patternset includes="jdtCompilerAdapter.jar"/>
57 <fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
58 </unzip>
59 </target>
60 <target description="compile project with Eclipse compiler" name="build-eclipse-compiler">
61 <property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
62 <antcall target="build"/>
63 </target>
64 <target name="Main">
65 <java classname="org.eclipse.titan.executorapi.demo.Main" failonerror="true" fork="yes">
66 <classpath refid="TITAN_Executor_API_Demo.classpath"/>
67 </java>
68 </target>
69 </project>
This page took 0.031 seconds and 5 git commands to generate.