Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Swanson2003-04-28 16:37:42 -0400
committerDarin Swanson2003-04-28 16:37:42 -0400
commitfef0514a620261a887f98d1244a517cbd4fee8d2 (patch)
tree21ff78493cb7d3fba6d2a4de3ccef0b5c8a5d58c /org.eclipse.ui.externaltools/buildfiles/exportplugin.xml
parent27a92397ead817c5fdb1054b855f4c39f77fdf8e (diff)
downloadeclipse.platform.debug-fef0514a620261a887f98d1244a517cbd4fee8d2.tar.gz
eclipse.platform.debug-fef0514a620261a887f98d1244a517cbd4fee8d2.tar.xz
eclipse.platform.debug-fef0514a620261a887f98d1244a517cbd4fee8d2.zip
Bug 36870 - Separate the Ant UI from the ExternalToolsUI
Diffstat (limited to 'org.eclipse.ui.externaltools/buildfiles/exportplugin.xml')
-rw-r--r--org.eclipse.ui.externaltools/buildfiles/exportplugin.xml44
1 files changed, 44 insertions, 0 deletions
diff --git a/org.eclipse.ui.externaltools/buildfiles/exportplugin.xml b/org.eclipse.ui.externaltools/buildfiles/exportplugin.xml
new file mode 100644
index 000000000..948fc9a66
--- /dev/null
+++ b/org.eclipse.ui.externaltools/buildfiles/exportplugin.xml
@@ -0,0 +1,44 @@
+<!-- Export a jar of .class files for the org.eclipse.ui.externaltools Eclipse plug-in
+ along with other important plugin files to the "plugin-export" subdirectory
+ of the target Eclipse installation -->
+<project name="Export externaltools" 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.ui.externaltools_2.1.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}" />
+ <delete dir="${dest}/lib"/>
+ <mkdir dir="${dest}/lib"/>
+ <jar jarfile="${dest}/externaltools.jar">
+ <fileset dir="bin">
+ <exclude name="org/eclipse/ui/externaltools/internal/ant/inputhandler/*"/>
+ <exclude name="org/eclipse/ui/externaltools/internal/ant/logger/*"/>
+ </fileset>
+ </jar>
+ <!-- Create the source zip -->
+ <zip zipfile="${dest}/externaltoolssrc.zip">
+ <fileset dir="Ant Runner Support"/>
+ <fileset dir="Ant Tools Support"/>
+ <fileset dir="External Tools Base"/>
+ <fileset dir="Program Tools Support"/>
+ <fileset dir="Ant Editor"/>
+ </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="lib/antrunner.jar" todir="${dest}/lib"/>
+ <copy todir="${dest}/icons">
+ <fileset dir="icons" />
+ </copy>
+ </target>
+
+</project>

Back to the top