Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2005-04-14 09:49:59 +0000
committerDani Megert2005-04-14 09:49:59 +0000
commitb10848544a9c50029b6a897cc791688c2554241e (patch)
tree6949bb6765080efdf770308dfb3a17d46c41c5f0 /org.eclipse.text/scripts
parentb526f6aed2d8142f63829a3f9f4a6fe6daa6d087 (diff)
downloadeclipse.platform.text-b10848544a9c50029b6a897cc791688c2554241e.tar.gz
eclipse.platform.text-b10848544a9c50029b6a897cc791688c2554241e.tar.xz
eclipse.platform.text-b10848544a9c50029b6a897cc791688c2554241e.zip
JARed text plug-ins
Diffstat (limited to 'org.eclipse.text/scripts')
-rw-r--r--org.eclipse.text/scripts/exportplugin.xml32
1 files changed, 18 insertions, 14 deletions
diff --git a/org.eclipse.text/scripts/exportplugin.xml b/org.eclipse.text/scripts/exportplugin.xml
index ce29b0b4f..892ae9cbd 100644
--- a/org.eclipse.text/scripts/exportplugin.xml
+++ b/org.eclipse.text/scripts/exportplugin.xml
@@ -2,9 +2,11 @@
<target name="init">
<tstamp/>
<property name="destdir" value="../../plugin-export" />
+ <property name="tempdir" value="../../tmp" />
<property name="plugin" value="org.eclipse.text" />
<property name="version" value="_3.1.0" />
<property name="dest" value="${destdir}/${plugin}${version}" />
+ <property name="destjar" value="${destdir}/${plugin}${version}.jar" />
</target>
<target name="build" depends="init">
@@ -12,21 +14,23 @@
</target>
<target name="export" depends="build">
+ <delete dir="${tempdir}" />
+ <mkdir dir="${tempdir}" />
<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}"/>
- <copy todir= "${dest}/META-INF">
- <fileset dir="META-INF"/>
- </copy>
- <zip zipfile="${dest}/textsrc.zip">
+ <delete file="${destjar}" />
+ <zip zipfile="${tempdir}/src.zip">
<fileset dir="src" />
- <fileset dir="projection"/>
- </zip>
+ <fileset dir="projection" />
+ </zip>
+ <zip zipfile="${destjar}">
+ <fileset dir=".">
+ <include name="plugin.xml" />
+ <include name="plugin.properties" />
+ <include name="META-INF/**" />
+ </fileset>
+ <fileset dir="bin" />
+ <fileset file="${tempdir}/src.zip" />
+ </zip>
+ <delete dir="${tempdir}" />
</target>
</project>

Back to the top