-
Notifications
You must be signed in to change notification settings - Fork 1
/
buildCommon.xml
64 lines (54 loc) · 2.27 KB
/
buildCommon.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
58
59
60
61
62
63
64
<?xml version="1.0" encoding="UTF-8"?>
<project name="update.common" basedir=".">
<tstamp>
<format property="build.time" pattern="yyyyMMddHHmm"/>
</tstamp>
<condition property="build.qualifier" value="v${build.time}">
<not>
<isset property="build.qualifier"/>
</not>
</condition>
<taskdef resource="antlib.xml" classpath="../org.eclipse.imp.update/lib/ant-imp.jar"/>
<typedef resource="org/tigris/subversion/svnant/svnantlib.xml" classpath="../org.eclipse.imp.update/lib/svnant.jar;../org.eclipse.imp.update/lib/svnClientAdapter.jar"/>
<!-- Global Java compiler settings -->
<property name="javacFailOnError" value="true"/>
<property name="javacDebugInfo" value="on"/>
<property name="javacVerbose" value="false"/>
<!--
<echo message="java.home = ${java.home}"/>
<echo message="java.class.path = ${java.class.path}"/>
<echo message="ant.home = ${ant.home}"/>
-->
<condition property="mac.jre.path" value="${java.home}/../Classes">
<os family="mac"/>
</condition>
<condition property="mac.jre.path" value="">
<not> <os family="mac"/> </not>
</condition>
<!-- <echo message="mac.jre.path = ${mac.jre.path}"/> -->
<path id="path_bootclasspath">
<pathelement path="${java.class.path}"/>
<fileset dir="${mac.jre.path}">
<include name="*.jar"/>
</fileset>
<fileset dir="${java.home}/lib">
<include name="*.jar"/>
</fileset>
<fileset dir="${ant.home}/lib">
<include name="*.jar"/>
</fileset>
</path>
<property name="bootclasspath" refid="path_bootclasspath"/>
<fail unless="eclipse.target.platform">
You must define the property 'eclipse.target.platform' (in the Ant runtime preferences or
via a "-D" option) to be the location of the Eclipse installation against which plugins
should be compiled.
</fail>
<!-- <echo message="eclipse.target.platform = ${eclipse.target.platform}"/> -->
<path id="path_eclipse.build.path">
<fileset dir="${eclipse.target.platform}/plugins">
<include name="**/*.jar"/>
</fileset>
</path>
<pathconvert property="eclipse.build.path" refid="path_eclipse.build.path" targetos="windows"/>
</project>