author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Wed, 06 Feb 2013 23:28:15 +0100 | |
branch | development |
changeset 2033 | 5a1b1db42140 |
parent 1818 | 2e5ed72e7dfd |
child 2034 | 0942643dab4b |
permissions | -rw-r--r-- |
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?> |
|
2033
5a1b1db42140
Eclipse projects fixed (build paths, exports, etc)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
6 |
as the first entry and export the buildfile again. --><project basedir="." default="build" name="stx:libjava"> |
1457 | 7 |
<property environment="env"/> |
2033
5a1b1db42140
Eclipse projects fixed (build paths, exports, etc)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
8 |
<property name="stx:libjava | benchmarks.location" value="../benchmarks/java"/> |
5a1b1db42140
Eclipse projects fixed (build paths, exports, etc)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
9 |
<property name="stx:libjava | examples.location" value="../examples/java"/> |
5a1b1db42140
Eclipse projects fixed (build paths, exports, etc)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
10 |
<property name="stx:libjava | examples | tomcat 6.x.location" value="../examples/tomcat6/apache-tomcat-6.0.35-src"/> |
5a1b1db42140
Eclipse projects fixed (build paths, exports, etc)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
11 |
<property name="stx:libjava | experiments.location" value="../experiments/java"/> |
5a1b1db42140
Eclipse projects fixed (build paths, exports, etc)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
12 |
<property name="stx:libjava | tests.location" value="../tests/libjava"/> |
5a1b1db42140
Eclipse projects fixed (build paths, exports, etc)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
13 |
<property name="ECLIPSE_HOME" value="../../../../../../../../../../../../opt/eclipse-4.2"/> |
1457 | 14 |
<property name="debuglevel" value="source,lines,vars"/> |
2033
5a1b1db42140
Eclipse projects fixed (build paths, exports, etc)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
15 |
<property name="target" value="1.7"/> |
5a1b1db42140
Eclipse projects fixed (build paths, exports, etc)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
16 |
<property name="source" value="1.7"/> |
5a1b1db42140
Eclipse projects fixed (build paths, exports, etc)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
17 |
<path id="stx:libjava.classpath"> |
1457 | 18 |
<pathelement location="bin"/> |
1691 | 19 |
<pathelement location="libs/groovy-all-1.8.2.jar"/> |
20 |
<pathelement location="libs/junit4-4.8.2.jar"/> |
|
1457 | 21 |
</path> |
22 |
<target name="init"> |
|
23 |
<mkdir dir="bin"/> |
|
24 |
<copy includeemptydirs="false" todir="bin"> |
|
25 |
<fileset dir="src"> |
|
26 |
<exclude name="**/*.java"/> |
|
27 |
</fileset> |
|
28 |
</copy> |
|
29 |
</target> |
|
30 |
<target name="clean"> |
|
31 |
<delete dir="bin"/> |
|
32 |
</target> |
|
33 |
<target depends="clean" name="cleanall"/> |
|
34 |
<target depends="build-subprojects,build-project" name="build"/> |
|
35 |
<target name="build-subprojects"/> |
|
36 |
<target depends="init" name="build-project"> |
|
37 |
<echo message="${ant.project.name}: ${ant.file}"/> |
|
2033
5a1b1db42140
Eclipse projects fixed (build paths, exports, etc)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
38 |
<javac debug="true" debuglevel="${debuglevel}" destdir="bin" includeantruntime="false" source="${source}" target="${target}"> |
1457 | 39 |
<src path="src"/> |
2033
5a1b1db42140
Eclipse projects fixed (build paths, exports, etc)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
40 |
<classpath refid="stx:libjava.classpath"/> |
1457 | 41 |
</javac> |
42 |
</target> |
|
1691 | 43 |
<target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects"> |
2033
5a1b1db42140
Eclipse projects fixed (build paths, exports, etc)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
44 |
<ant antfile="build.xml" dir="${stx:libjava | benchmarks.location}" inheritAll="false" target="clean"/> |
5a1b1db42140
Eclipse projects fixed (build paths, exports, etc)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
45 |
<ant antfile="build.xml" dir="${stx:libjava | benchmarks.location}" inheritAll="false" target="build"> |
1691 | 46 |
<propertyset> |
47 |
<propertyref name="build.compiler"/> |
|
48 |
</propertyset> |
|
49 |
</ant> |
|
2033
5a1b1db42140
Eclipse projects fixed (build paths, exports, etc)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
50 |
<ant antfile="build.xml" dir="${stx:libjava | examples.location}" inheritAll="false" target="clean"/> |
5a1b1db42140
Eclipse projects fixed (build paths, exports, etc)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
51 |
<ant antfile="build.xml" dir="${stx:libjava | examples.location}" inheritAll="false" target="build"> |
5a1b1db42140
Eclipse projects fixed (build paths, exports, etc)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
52 |
<propertyset> |
5a1b1db42140
Eclipse projects fixed (build paths, exports, etc)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
53 |
<propertyref name="build.compiler"/> |
5a1b1db42140
Eclipse projects fixed (build paths, exports, etc)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
54 |
</propertyset> |
5a1b1db42140
Eclipse projects fixed (build paths, exports, etc)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
55 |
</ant> |
5a1b1db42140
Eclipse projects fixed (build paths, exports, etc)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
56 |
<ant antfile="build.xml" dir="${stx:libjava | examples | tomcat 6.x.location}" inheritAll="false" target="clean"/> |
5a1b1db42140
Eclipse projects fixed (build paths, exports, etc)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
57 |
<ant antfile="build.xml" dir="${stx:libjava | examples | tomcat 6.x.location}" inheritAll="false" target="build"> |
5a1b1db42140
Eclipse projects fixed (build paths, exports, etc)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
58 |
<propertyset> |
5a1b1db42140
Eclipse projects fixed (build paths, exports, etc)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
59 |
<propertyref name="build.compiler"/> |
5a1b1db42140
Eclipse projects fixed (build paths, exports, etc)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
60 |
</propertyset> |
5a1b1db42140
Eclipse projects fixed (build paths, exports, etc)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
61 |
</ant> |
5a1b1db42140
Eclipse projects fixed (build paths, exports, etc)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
62 |
<ant antfile="build.xml" dir="${stx:libjava | experiments.location}" inheritAll="false" target="clean"/> |
5a1b1db42140
Eclipse projects fixed (build paths, exports, etc)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
63 |
<ant antfile="build.xml" dir="${stx:libjava | experiments.location}" inheritAll="false" target="build"> |
5a1b1db42140
Eclipse projects fixed (build paths, exports, etc)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
64 |
<propertyset> |
5a1b1db42140
Eclipse projects fixed (build paths, exports, etc)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
65 |
<propertyref name="build.compiler"/> |
5a1b1db42140
Eclipse projects fixed (build paths, exports, etc)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
66 |
</propertyset> |
5a1b1db42140
Eclipse projects fixed (build paths, exports, etc)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
67 |
</ant> |
5a1b1db42140
Eclipse projects fixed (build paths, exports, etc)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
68 |
<ant antfile="build.xml" dir="${stx:libjava | tests.location}" inheritAll="false" target="clean"/> |
5a1b1db42140
Eclipse projects fixed (build paths, exports, etc)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
69 |
<ant antfile="build.xml" dir="${stx:libjava | tests.location}" inheritAll="false" target="build"> |
1691 | 70 |
<propertyset> |
71 |
<propertyref name="build.compiler"/> |
|
72 |
</propertyset> |
|
73 |
</ant> |
|
74 |
</target> |
|
1457 | 75 |
<target description="copy Eclipse compiler jars to ant lib directory" name="init-eclipse-compiler"> |
76 |
<copy todir="${ant.library.dir}"> |
|
77 |
<fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/> |
|
78 |
</copy> |
|
79 |
<unzip dest="${ant.library.dir}"> |
|
80 |
<patternset includes="jdtCompilerAdapter.jar"/> |
|
81 |
<fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/> |
|
82 |
</unzip> |
|
83 |
</target> |
|
84 |
<target description="compile project with Eclipse compiler" name="build-eclipse-compiler"> |
|
85 |
<property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/> |
|
86 |
<antcall target="build"/> |
|
87 |
</target> |
|
88 |
</project> |