blob: fc634e2068a27528a93e597717fb2206643b39e6 [file] [log] [blame]
<?xml version="1.0"?>
<project name="Build Core Sniff" basedir="." default="init">
<property name="root" value="${basedir}/.."/>
<property name="temp" value="${root}/__temp"/>
<property name="plugins" value="${temp}/eclipse/plugins"/>
<target name="init">
<tstamp/>
<delete dir="${temp}"/>
<mkdir dir="${plugins}"/>
<antcall target="buildPlugin">
<param name="pluginName" value="org.eclipse.osgi.tests" />
<param name="jarName" value="osgitests.jar" />
</antcall>
<antcall target="buildPlugin">
<param name="pluginName" value="org.eclipse.core.tests.resources" />
<param name="jarName" value="resourcestests.jar" />
</antcall>
<antcall target="buildPlugin">
<param name="pluginName" value="org.eclipse.core.tests.resources.saveparticipant" />
<param name="jarName" value="saveparticipant.jar" />
</antcall>
<antcall target="buildPlugin">
<param name="pluginName" value="org.eclipse.core.tests.resources.saveparticipant1" />
<param name="jarName" value="saveparticipant1.jar" />
</antcall>
<antcall target="buildPlugin">
<param name="pluginName" value="org.eclipse.core.tests.resources.saveparticipant2" />
<param name="jarName" value="saveparticipant2.jar" />
</antcall>
<antcall target="buildPlugin">
<param name="pluginName" value="org.eclipse.core.tests.resources.saveparticipant3" />
<param name="jarName" value="saveparticipant3.jar" />
</antcall>
<antcall target="buildPlugin">
<param name="pluginName" value="org.eclipse.core.tests.runtime" />
<param name="jarName" value="runtimetests.jar" />
</antcall>
<antcall target="buildPlugin">
<param name="pluginName" value="org.eclipse.core.tests.harness" />
<param name="jarName" value="testharness.jar" />
</antcall>
<zip zipfile="${basedir}/coreSniff${DSTAMP}.zip"
basedir="${temp}"
/>
<delete dir="${temp}"/>
<eclipse.refreshLocal resource="org.eclipse.core.tests.harness"/>
</target>
<target name="buildPlugin">
<copy todir="${plugins}/${pluginName}">
<fileset dir="${root}/${pluginName}"/>
</copy>
<jar jarfile="${plugins}/${pluginName}/${jarName}"
basedir="${plugins}/${pluginName}/bin"
/>
<delete dir="${plugins}/${pluginName}/bin"/>
</target>
</project>