blob: 209e56062e0e6d86c0b9f469a075505ccc8f6dd1 [file] [log] [blame]
<!-- build script to create a plugin from org.eclipse.ui -->
<project name="Export Eclipse UI" default="exportAll" basedir="..">
<target name="init">
<tstamp/>
<property name="destdir" value="../../plugin-export" />
<property name="plugin" value="org.eclipse.ui" />
<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}/ui.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}/uisrc.zip">
<fileset dir="src" />
</zip>
</target>
<target name="exportAll">
<antcall target="export"/>
<ant antfile="scripts/exportplugin.xml" dir="../org.eclipse.text" target="export"/>
<ant antfile="scripts/exportplugin.xml" dir="../org.eclipse.jface" target="export"/>
<ant antfile="scripts/exportplugin.xml" dir="../org.eclipse.jface.text" target="export"/>
<ant antfile="scripts/exportplugin.xml" dir="../org.eclipse.ui.views" target="export"/>
<ant antfile="scripts/exportplugin.xml" dir="../org.eclipse.ui.editors" target="export"/>
<ant antfile="scripts/exportplugin.xml" dir="../org.eclipse.ui.workbench" target="export"/>
<ant antfile="scripts/exportplugin.xml" dir="../org.eclipse.ui.workbench.texteditor" target="export"/>
</target>
</project>