blob: e44ec2f70c1cabf87576d0d26a716a77315a44dd [file] [log] [blame]
<project name="org.eclipse.compare" default="export" basedir="..">
<target name="init">
<tstamp/>
<property name="destdir" value="../../plugin-export" />
<property name="plugin" value="org.eclipse.compare" />
<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}/compare.jar"
basedir="bin"
/>
<copy file="plugin.xml" todir="${dest}"/>
<copy file="plugin.properties" todir="${dest}"/>
<copy todir="${dest}/icons">
<fileset dir="icons" />
</copy>
<zip zipfile="${dest}/comparesrc.zip">
<fileset dir="compare" />
</zip>
</target>
</project>