blob: 1e7b6f82417ccfee0fe371af8ab364cbb67d5950 [file] [log] [blame]
<project>
<pathconvert property="equinox.launcher.jar">
<first count="1">
<sort>
<fileset dir="${eclipse.home}/plugins" includes="**/org.eclipse.equinox.launcher_*.jar"/>
<reverse xmlns="antlib:org.apache.tools.ant.types.resources.comparators">
<date/>
</reverse>
</sort>
</first>
</pathconvert>
<target name="create.product">
<property name="destination" location="${sp:destination}"/>
<delete dir="${destination}"/>
<makeurl property="repository" file="${sp:repository}"/>
<mkdir dir="${destination}"/>
<echoproperties/>
<echo message="${equinox.launcher.jar}"/>
<echo message="${repository}"/>
<echo message="${destination}"/>
<java jar="${equinox.launcher.jar}" fork="true" failonerror="true" >
<arg value="-application"/>
<arg value="org.eclipse.equinox.p2.director"/>
<arg value="-repository"/>
<arg value="${repository}"/>
<arg value="-destination"/>
<arg value="${destination}"/>
<arg value="-profile"/>
<arg value="${profile}"/>
<arg value="-profileProperties" />
<arg value="org.eclipse.update.install.features=true" />
<arg value="-installIU"/>
<arg value="${iu}"/>
<arg value="-p2.os" />
<arg value="${target.os}" />
<arg value="-p2.ws" />
<arg value="${target.ws}" />
<arg value="-p2.arch" />
<arg value="${target.arch}" />
<arg value="-consoleLog"/>
<!-- jvmarg value="-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=y"/ -->
</java>
</target>
</project>