switching to buckminster
[taxeditor.git] / taxeditor-feature-product / build / product.ant
1 <project>
2 <pathconvert property="equinox.launcher.jar">
3 <first count="1">
4 <sort>
5 <fileset dir="${eclipse.home}/plugins" includes="**/org.eclipse.equinox.launcher_*.jar"/>
6 <reverse xmlns="antlib:org.apache.tools.ant.types.resources.comparators">
7 <date/>
8 </reverse>
9 </sort>
10 </first>
11 </pathconvert>
12
13 <target name="create.product">
14 <property name="destination" location="${sp:destination}"/>
15 <delete dir="${destination}"></delete>
16 <makeurl property="repository" file="${sp:repository}"/>
17 <mkdir dir="${destination}"/>
18 <echoproperties ></echoproperties>
19 <echo message="${equinox.launcher.jar}"/>
20 <echo message="${repository}"/>
21 <echo message="${destination}"/>
22 <java jar="${equinox.launcher.jar}" fork="true" failonerror="true" >
23 <arg value="-application"/>
24 <arg value="org.eclipse.equinox.p2.director"/>
25 <arg value="-artifactRepository"/>
26 <arg value="file:${repository}"/>
27 <arg value="-metadataRepository"/>
28 <arg value="file:${repository}"/>
29 <arg value="-destination"/>
30 <arg value="${destination}"/>
31 <arg value="-bundlepool"/>
32 <arg value="${destination}"/>
33 <arg value="-profile"/>
34 <arg value="${profile}"/>
35 <arg value="-profileProperties" />
36 <arg value="org.eclipse.update.install.features=true" />
37 <arg value="-installIU"/>
38 <arg value="${iu}"/>
39 <arg value="-p2.os" />
40 <arg value="${target.os}" />
41 <arg value="-p2.ws" />
42 <arg value="${target.ws}" />
43 <arg value="-p2.arch" />
44 <arg value="${target.arch}" />
45 <arg value="-consoleLog"/>
46 <jvmarg value="-Declipse.p2.data.area=${destination}/p2"/>
47 <jvmarg value="-Declipse.p2.profile=${profile}"/>
48 </java>
49 </target>
50 </project>