blob: 8bc2434f2ca5053c65c47f1f8874a06c2e03fffa [file] [log] [blame]
<project name="org.eclipse.search" default="export" basedir="..">
<target name="init">
<tstamp/>
<property name="destdir" value="../../plugin-export" />
<property name="plugin" value="org.eclipse.jdt.ui.examples.projects" />
<property name="version" value="_3.0.0" />
<property name="dest" value="${destdir}/${plugin}${version}" />
</target>
<target name="build" depends="init">
<eclipse.incrementalBuild project="${plugin}" kind="incr"/>
</target>
<target name="export" depends="build">
<mkdir dir="${destdir}" />
<delete dir="${dest}" />
<mkdir dir="${dest}" />
<jar
jarfile="${dest}/jdtexamples.jar"
basedir="bin"
/>
<copy file="plugin.xml" todir="${dest}"/>
<copy file="plugin.properties" todir="${dest}"/>
<copy todir="${dest}/icons">
<fileset dir="icons" />
</copy>
<copy todir="${dest}/archive">
<fileset dir="archive" />
</copy>
<copy todir="${dest}/doc-html">
<fileset dir="doc-html" />
</copy>
<zip zipfile="${dest}/jdtexamplessrc.zip">
<fileset dir="examples" />
</zip>
</target>
</project>