1457
|
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. -->
|
1691
|
7 |
<project basedir="." default="build" name="jv2 - stx:libjava">
|
1457
|
8 |
<property environment="env"/>
|
1691
|
9 |
<property name="!!ext!! - stx:libjava - tests.location" value="../../../../../../../../../../Projects/libjava/sources/libjava/branches/jk_new_structure/tests/libjava"/>
|
|
10 |
<property name="jv2 - stx:libjava|examples.location" value="../examples/java"/>
|
|
11 |
<property name="ECLIPSE_HOME" value="../../../../../../../../../../../../usr/lib/eclipse"/>
|
1457
|
12 |
<property name="debuglevel" value="source,lines,vars"/>
|
|
13 |
<property name="target" value="1.6"/>
|
|
14 |
<property name="source" value="1.6"/>
|
1691
|
15 |
<path id="jv2 - stx:libjava.classpath">
|
1457
|
16 |
<pathelement location="bin"/>
|
1691
|
17 |
<pathelement location="libs/groovy-all-1.8.2.jar"/>
|
|
18 |
<pathelement location="libs/junit4-4.8.2.jar"/>
|
1457
|
19 |
</path>
|
|
20 |
<target name="init">
|
|
21 |
<mkdir dir="bin"/>
|
|
22 |
<copy includeemptydirs="false" todir="bin">
|
|
23 |
<fileset dir="src">
|
|
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"/>
|
1691
|
38 |
<classpath refid="jv2 - stx:libjava.classpath"/>
|
1457
|
39 |
</javac>
|
|
40 |
</target>
|
1691
|
41 |
<target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects">
|
|
42 |
<ant antfile="build.xml" dir="${!!ext!! - stx:libjava - tests.location}" inheritAll="false" target="clean"/>
|
|
43 |
<ant antfile="build.xml" dir="${!!ext!! - stx:libjava - tests.location}" inheritAll="false" target="build">
|
|
44 |
<propertyset>
|
|
45 |
<propertyref name="build.compiler"/>
|
|
46 |
</propertyset>
|
|
47 |
</ant>
|
|
48 |
<ant antfile="build.xml" dir="${jv2 - stx:libjava|examples.location}" inheritAll="false" target="clean"/>
|
|
49 |
<ant antfile="build.xml" dir="${jv2 - stx:libjava|examples.location}" inheritAll="false" target="build">
|
|
50 |
<propertyset>
|
|
51 |
<propertyref name="build.compiler"/>
|
|
52 |
</propertyset>
|
|
53 |
</ant>
|
|
54 |
</target>
|
1457
|
55 |
<target description="copy Eclipse compiler jars to ant lib directory" name="init-eclipse-compiler">
|
|
56 |
<copy todir="${ant.library.dir}">
|
|
57 |
<fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
|
|
58 |
</copy>
|
|
59 |
<unzip dest="${ant.library.dir}">
|
|
60 |
<patternset includes="jdtCompilerAdapter.jar"/>
|
|
61 |
<fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
|
|
62 |
</unzip>
|
|
63 |
</target>
|
|
64 |
<target description="compile project with Eclipse compiler" name="build-eclipse-compiler">
|
|
65 |
<property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
|
|
66 |
<antcall target="build"/>
|
|
67 |
</target>
|
|
68 |
</project>
|
1691
|
69 |
|