| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<project name="org.eclipse.equinox.p2.metadata.generator" default="default" basedir=".."> |
| 3 |
|
| 4 |
<target name="init" depends="properties"> |
| 5 |
<property name="plugin" value="org.eclipse.equinox.p2.publisher.eclipse"/> |
| 6 |
<property name="temp.folder" value="${basedir}/temp.folder"/> |
| 7 |
<property name="plugin.destination" value="${basedir}"/> |
| 8 |
<property name="build.result.folder" value="${basedir}/ant_tasks"/> |
| 9 |
<property name="version.suffix" value="_1.0.0"/> |
| 10 |
</target> |
| 11 |
|
| 12 |
<target name="properties" if="eclipse.running"> |
| 13 |
<property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/> |
| 14 |
</target> |
| 15 |
|
| 16 |
<target name="buildScripts" depends="init" description="Build from generated scripts"> |
| 17 |
<tstamp/> |
| 18 |
<eclipse.buildScript elements="plugin@${plugin}" |
| 19 |
buildDirectory="${buildDirectory}" |
| 20 |
configInfo="*,*,*" |
| 21 |
baseLocation="${baseLocation}" |
| 22 |
buildingOSGi="true" |
| 23 |
outputUpdateJars="false" |
| 24 |
pluginpath="${basedir}" |
| 25 |
forceContextQualifier="z${DSTAMP}${TSTAMP}" |
| 26 |
/> |
| 27 |
<delete file="${basedir}/ant_tasks/pdepublishing-ant.jar" failonerror="false"/> |
| 28 |
<ant antfile="${basedir}/build.xml" target="ant_tasks/pdepublishing-ant.jar"/> |
| 29 |
</target> |
| 30 |
|
| 31 |
<target name="default" description="Jar up the binaries that were compiled by the jdt builder" > |
| 32 |
<mkdir dir="${basedir}/ant_tasks" /> |
| 33 |
<delete file="${basedir}/ant_tasks/pdepublishing-ant.jar" failonerror="false"/> |
| 34 |
<jar destfile="${basedir}/ant_tasks/pdepublishing-ant.jar" basedir="bin_ant"/> |
| 35 |
</target> |
| 36 |
</project> |