-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcruise-build.xml
57 lines (50 loc) · 1.93 KB
/
cruise-build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<project name="org.eclipse.imp.xform.test" default="all">
<target name="init">
<property name="runtime.version" value="1.0.52"/>
<condition property="eclipse.home" value="/usr/lib/eclipse-3.1">
<and>
<not>
<isset property="eclipse.home"/>
</not>
<os family="unix"/>
</and>
</condition>
<condition property="eclipse.home" value="f:/eclipse-3.1.2">
<and>
<not>
<isset property="eclipse.home"/>
</not>
<os family="windows"/>
</and>
</condition>
<path id="path_eclipse.build.path">
<fileset dir="${eclipse.home}/plugins">
<include name="**/*.jar"/>
</fileset>
</path>
<pathconvert property="eclipse.build.path" refid="path_eclipse.build.path" targetos="unix"/>
</target>
<target name="all" depends="compile, test, jar"/>
<target name="update">
<cvs command="update -d -P -A"/>
</target>
<target name="compile" depends="init,update">
<javac destdir="bin"
failonerror="${javacFailOnError}" verbose="${javacVerbose}" debug="${javacDebugInfo}" includeAntRuntime="no" bootclasspath="${bootclasspath}" source="1.5" target="1.5">
<compilerarg line="${compilerArg}"/>
<classpath>
<pathelement path="../lpg.runtime.java/lpg.runtime_2.0.4.jar"/>
<pathelement path="../polyglot/lib/polyglot-epl.jar"/>
<pathelement path="../org.eclipse.imp.runtime/org.eclipse.imp.runtime_${runtime.version}.jar"/>
<pathelement path="../org.eclipse.imp.xform/org.eclipse.imp.xform_${runtime.version}.jar"/>
<pathelement path="${eclipse.build.path}"/>
</classpath>
<src path="src/"/>
</javac>
</target>
<target name="test">
</target>
<target name="jar" depends="init,compile">
<jar jarfile="org.eclipse.imp.xform.test_${runtime.version}.jar" basedir="bin"/>
</target>
</project>