blob: be9929d62d676c4821070a3a2d9f0545dc1f853e (
plain) (
blame)
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
|
<project default="main">
<target name="main">
<property name="baseLocation" value="${eclipse.home}"/>
<!-- by default, check for deltapack co-located with eclipse -->
<property name="deltapack" value="${eclipse.home}/../deltapack/eclipse"/>
<!-- Check that we have a deltapack -->
<available property="haveDeltaPack" file="${deltapack}"/>
<fail unless="haveDeltaPack" message="The deltapack is required to build this product. Please edit buildProduct.xml or set the "deltapack" property." />
<property name="builder" value="${basedir}" />
<property name="buildDirectory" value="${basedir}/buildDirectory"/>
<property name="pluginPath" value="${deltapack}" />
<property name="buildTempFolder" value="${buildDirectory}" />
<!-- Clean build directory and workspace -->
<delete includeemptydirs="true" failonerror="false">
<fileset dir="${basedir}/buildDirectory"/>
<fileset dir="${basedir}/repository"/>
</delete>
<!-- Copy plug-ins from workspace -->
<copy todir="${buildDirectory}/plugins">
<fileset dir="${basedir}/..">
<include name="org.eclipse.equinox.p2.examples.rcp.cloud/**/*"/>
<exclude name="**/bin/**"/>
</fileset>
</copy>
<ant antfile="${eclipse.pdebuild.scripts}/productBuild/productBuild.xml" />
<move todir="${basedir}" overwrite="true">
<fileset dir="${buildDirectory}/I.TestBuild" includes="*.zip"/>
</move>
<!-- refresh the workspace -->
<eclipse.convertPath fileSystemPath="${basedir}" property="resourcePath"/>
<eclipse.refreshLocal resource="${resourcePath}" depth="infinite"/>
</target>
</project>
|