Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.text/scripts')
-rw-r--r--org.eclipse.text/scripts/exportplugin.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/org.eclipse.text/scripts/exportplugin.xml b/org.eclipse.text/scripts/exportplugin.xml
new file mode 100644
index 000000000..870cc45dc
--- /dev/null
+++ b/org.eclipse.text/scripts/exportplugin.xml
@@ -0,0 +1,28 @@
+<project name="Export Text" default="export" basedir="..">
+ <target name="init">
+ <tstamp/>
+ <property name="destdir" value="../../plugin-export" />
+ <property name="plugin" value="org.eclipse.text" />
+ <property name="version" value="_2.1.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}/text.jar"
+ basedir="bin"
+ />
+ <copy file="plugin.xml" todir="${dest}"/>
+ <copy file="plugin.properties" todir="${dest}"/>
+ <zip zipfile="${dest}/textsrc.zip">
+ <fileset dir="src" />
+ </zip>
+ </target>
+</project>

Back to the top