blob: 5a363501907c1ca549e9d6966d30bac78055fc02 [file] [log] [blame]
<!-- Export a jar of .class files for the org.eclipse.jdt.debug.ui Eclipse plug-in
along with other important plugin files to the "plugin-export" subdirectory
of the target Eclipse installation -->
<project name="Export jdt.debug.ui" default="export" basedir="..">
<!-- Set the timestamp and important properties -->
<target name="init">
<tstamp/>
<property name="destdir" value="../../plugin-export" />
<property name="dest" value="${destdir}/org.eclipse.jdt.debug.ui_3.0.0" />
</target>
<!-- Create the jar of .class files, and copy other important files to export dir -->
<target name="export" depends="init">
<mkdir dir="${destdir}" />
<delete dir="${dest}" />
<mkdir dir="${dest}" />
<jar
jarfile="${dest}/jdiui.jar"
basedir="bin"
/>
<!-- Create the source zip -->
<zip zipfile="${dest}/jdiuisrc.zip">
<fileset dir="ui"/>
</zip>
<copy file="plugin.xml" todir="${dest}"/>
<copy file="plugin.properties" todir="${dest}"/>
<copy file=".classpath" todir="${dest}"/>
<copy file=".options" todir="${dest}"/>
<copy file="snippetsupport.jar" todir="${dest}"/>
<copy todir="${dest}/icons">
<fileset dir="icons" />
</copy>
</target>
</project>