Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2006-07-20 14:47:55 +0000
committerDani Megert2006-07-20 14:47:55 +0000
commite5d88aa0219b8df6163ae5e3c7e6dda69b43918d (patch)
tree68c8f568efd2f42d1e7e3959a667aed7d5d6f811
parent40ddfe6e33dafa2d4081e266a9b37fa0372b74e0 (diff)
downloadeclipse.platform.text-e5d88aa0219b8df6163ae5e3c7e6dda69b43918d.tar.gz
eclipse.platform.text-e5d88aa0219b8df6163ae5e3c7e6dda69b43918d.tar.xz
eclipse.platform.text-e5d88aa0219b8df6163ae5e3c7e6dda69b43918d.zip
Updated export scriptr321_v20060721
-rw-r--r--org.eclipse.core.filebuffers/scripts/exportplugin.xml9
-rw-r--r--org.eclipse.jface.text/scripts/exportplugin.xml9
-rw-r--r--org.eclipse.search/scripts/exportplugin.xml9
-rw-r--r--org.eclipse.ui.editors/scripts/exportplugin.xml9
4 files changed, 32 insertions, 4 deletions
diff --git a/org.eclipse.core.filebuffers/scripts/exportplugin.xml b/org.eclipse.core.filebuffers/scripts/exportplugin.xml
index aefc51df6..2db475257 100644
--- a/org.eclipse.core.filebuffers/scripts/exportplugin.xml
+++ b/org.eclipse.core.filebuffers/scripts/exportplugin.xml
@@ -4,7 +4,14 @@
<property name="destdir" value="../../plugin-export" />
<property name="plugin" value="org.eclipse.core.filebuffers" />
<property name="qualifier" value="zzz${DSTAMP}-${TSTAMP}" />
- <property name="plugin_version" value="_3.2.0.${qualifier}" />
+
+ <!-- define property ${plugin_version} by reading version from MANIFEST.MF: -->
+ <tempfile property="plugin_version_file" suffix=".plugin_version.tmp" destdir="${destdir}"/>
+ <copy file="META-INF/MANIFEST.MF" tofile="${plugin_version_file}"/>
+ <replaceregexp file="${plugin_version_file}" match=".*Bundle-Version: ((\d)+\.(\d)+\.(\d)+\.)qualifier.*" replace="plugin_version=_\1${qualifier}" flags="s" />
+ <property file="${plugin_version_file}"/>
+ <delete file="${plugin_version_file}" />
+
<property name="dest" value="${destdir}/${plugin}${plugin_version}" />
<property name="destjar" value="${destdir}/${plugin}${plugin_version}.jar" />
</target>
diff --git a/org.eclipse.jface.text/scripts/exportplugin.xml b/org.eclipse.jface.text/scripts/exportplugin.xml
index 0a7d5b3cd..8276ceb11 100644
--- a/org.eclipse.jface.text/scripts/exportplugin.xml
+++ b/org.eclipse.jface.text/scripts/exportplugin.xml
@@ -4,7 +4,14 @@
<property name="destdir" value="../../plugin-export" />
<property name="plugin" value="org.eclipse.jface.text" />
<property name="qualifier" value="zzz${DSTAMP}-${TSTAMP}" />
- <property name="plugin_version" value="_3.2.0.${qualifier}" />
+
+ <!-- define property ${plugin_version} by reading version from MANIFEST.MF: -->
+ <tempfile property="plugin_version_file" suffix=".plugin_version.tmp" destdir="${destdir}"/>
+ <copy file="META-INF/MANIFEST.MF" tofile="${plugin_version_file}"/>
+ <replaceregexp file="${plugin_version_file}" match=".*Bundle-Version: ((\d)+\.(\d)+\.(\d)+\.)qualifier.*" replace="plugin_version=_\1${qualifier}" flags="s" />
+ <property file="${plugin_version_file}"/>
+ <delete file="${plugin_version_file}" />
+
<property name="dest" value="${destdir}/${plugin}${plugin_version}" />
<property name="destjar" value="${destdir}/${plugin}${plugin_version}.jar" />
</target>
diff --git a/org.eclipse.search/scripts/exportplugin.xml b/org.eclipse.search/scripts/exportplugin.xml
index ce8988c56..382bc661c 100644
--- a/org.eclipse.search/scripts/exportplugin.xml
+++ b/org.eclipse.search/scripts/exportplugin.xml
@@ -4,7 +4,14 @@
<property name="destdir" value="../../plugin-export" />
<property name="plugin" value="org.eclipse.search" />
<property name="qualifier" value="zzz${DSTAMP}-${TSTAMP}" />
- <property name="plugin_version" value="_3.2.0.${qualifier}" />
+
+ <!-- define property ${plugin_version} by reading version from MANIFEST.MF: -->
+ <tempfile property="plugin_version_file" suffix=".plugin_version.tmp" destdir="${destdir}"/>
+ <copy file="META-INF/MANIFEST.MF" tofile="${plugin_version_file}"/>
+ <replaceregexp file="${plugin_version_file}" match=".*Bundle-Version: ((\d)+\.(\d)+\.(\d)+\.)qualifier.*" replace="plugin_version=_\1${qualifier}" flags="s" />
+ <property file="${plugin_version_file}"/>
+ <delete file="${plugin_version_file}" />
+
<property name="dest" value="${destdir}/${plugin}${plugin_version}" />
<property name="destjar" value="${destdir}/${plugin}${plugin_version}.jar" />
</target>
diff --git a/org.eclipse.ui.editors/scripts/exportplugin.xml b/org.eclipse.ui.editors/scripts/exportplugin.xml
index 05b6d9d0c..13027d320 100644
--- a/org.eclipse.ui.editors/scripts/exportplugin.xml
+++ b/org.eclipse.ui.editors/scripts/exportplugin.xml
@@ -4,7 +4,14 @@
<property name="destdir" value="../../plugin-export" />
<property name="plugin" value="org.eclipse.ui.editors" />
<property name="qualifier" value="zzz${DSTAMP}-${TSTAMP}" />
- <property name="plugin_version" value="_3.2.0.${qualifier}" />
+
+ <!-- define property ${plugin_version} by reading version from MANIFEST.MF: -->
+ <tempfile property="plugin_version_file" suffix=".plugin_version.tmp" destdir="${destdir}"/>
+ <copy file="META-INF/MANIFEST.MF" tofile="${plugin_version_file}"/>
+ <replaceregexp file="${plugin_version_file}" match=".*Bundle-Version: ((\d)+\.(\d)+\.(\d)+\.)qualifier.*" replace="plugin_version=_\1${qualifier}" flags="s" />
+ <property file="${plugin_version_file}"/>
+ <delete file="${plugin_version_file}" />
+
<property name="dest" value="${destdir}/${plugin}${plugin_version}" />
<property name="destjar" value="${destdir}/${plugin}${plugin_version}.jar" />
</target>

Back to the top