Skip to main content
summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorkhussey2007-07-19 21:09:24 +0000
committerkhussey2007-07-19 21:09:24 +0000
commite303c58a65e3011aeff06600204b2a3cd57fd9bc (patch)
tree554fadae807f9942fce621aaea549f1b3cebc85d /doc
parentf8e09b767b4192623874bde62b2e64bb18921a2d (diff)
downloadorg.eclipse.uml2-e303c58a65e3011aeff06600204b2a3cd57fd9bc.tar.gz
org.eclipse.uml2-e303c58a65e3011aeff06600204b2a3cd57fd9bc.tar.xz
org.eclipse.uml2-e303c58a65e3011aeff06600204b2a3cd57fd9bc.zip
[173154] Adding support for building from static map file.
Diffstat (limited to 'doc')
-rw-r--r--doc/org.eclipse.uml2.doc/META-INF/MANIFEST.MF2
-rw-r--r--doc/org.eclipse.uml2.doc/build.xml20
2 files changed, 12 insertions, 10 deletions
diff --git a/doc/org.eclipse.uml2.doc/META-INF/MANIFEST.MF b/doc/org.eclipse.uml2.doc/META-INF/MANIFEST.MF
index 2cf8d48bd..c28dd92df 100644
--- a/doc/org.eclipse.uml2.doc/META-INF/MANIFEST.MF
+++ b/doc/org.eclipse.uml2.doc/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.uml2.doc; singleton:=true
-Bundle-Version: 2.1.0.qualifier
+Bundle-Version: 2.2.0.qualifier
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Require-Bundle: org.eclipse.help;bundle-version="[3.2.0,4.0.0)"
diff --git a/doc/org.eclipse.uml2.doc/build.xml b/doc/org.eclipse.uml2.doc/build.xml
index dc60ebb3a..bc4018102 100644
--- a/doc/org.eclipse.uml2.doc/build.xml
+++ b/doc/org.eclipse.uml2.doc/build.xml
@@ -1,8 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="org.eclipse.uml2.doc" default="build.jars" basedir=".">
+ <property file="${buildDirectory}/finalPluginsVersions.properties"/>
+
<!-- Plug-in information. This is a HACK. Do not forget to update version numbers, etc.. -->
- <property name="pluginVersion" value="2.1.0"/>
+ <property name="pluginVersion" value="${org.eclipse.uml2.doc}"/>
<property name="plugin" value="org.eclipse.uml2"/>
<property name="docPlugin" value="org.eclipse.uml2.doc"/>
@@ -56,7 +58,7 @@
<antcall target="gather.bin.parts">
<param name="destination.temp.folder" value="${temp.folder}/"/>
</antcall>
- <zip destfile="${plugin.destination}/${docPlugin}_${pluginVersion}.${forceContextQualifier}.jar" basedir="${temp.folder}/${docPlugin}_${pluginVersion}.${forceContextQualifier}" filesonly="false" whenempty="skip" update="false"/>
+ <zip destfile="${plugin.destination}/${docPlugin}_${pluginVersion}.jar" basedir="${temp.folder}/${docPlugin}_${pluginVersion}" filesonly="false" whenempty="skip" update="false"/>
<delete dir="${temp.folder}"/>
</target>
@@ -81,13 +83,13 @@
</target>
<target name="gather.bin.parts" depends="init" if="destination.temp.folder">
- <mkdir dir="${destination.temp.folder}/${docPlugin}_${pluginVersion}.${forceContextQualifier}"/>
- <copy todir="${destination.temp.folder}/${docPlugin}_${pluginVersion}.${forceContextQualifier}" failonerror="true" overwrite="false">
+ <mkdir dir="${destination.temp.folder}/${docPlugin}_${pluginVersion}"/>
+ <copy todir="${destination.temp.folder}/${docPlugin}_${pluginVersion}" failonerror="true" overwrite="false">
<fileset dir="${basedir}" includes="${filesToInclude}"/>
</copy>
<eclipse.versionReplacer
- path="${destination.temp.folder}/${docPlugin}_${pluginVersion}.${forceContextQualifier}"
- version="${pluginVersion}.${forceContextQualifier}"/>
+ path="${destination.temp.folder}/${docPlugin}_${pluginVersion}"
+ version="${pluginVersion}"/>
</target>
<target name="build.zips" depends="init">
@@ -100,8 +102,8 @@
</target>
<target name="clean" depends="init" description="Clean the plug-in: ${docPlugin} of all the zips, jars and logs created.">
- <delete file="${plugin.destination}/${docPlugin}_${pluginVersion}.${forceContextQualifier}.jar"/>
- <delete file="${plugin.destination}/${docPlugin}_${pluginVersion}.${forceContextQualifier}.zip"/>
+ <delete file="${plugin.destination}/${docPlugin}_${pluginVersion}.jar"/>
+ <delete file="${plugin.destination}/${docPlugin}_${pluginVersion}.zip"/>
<delete dir="${temp.folder}"/>
</target>
@@ -119,7 +121,7 @@
<delete>
<fileset dir="${temp.folder}" includes="**/*.bin.log" />
</delete>
- <zip destfile="${plugin.destination}/${docPlugin}_${pluginVersion}.${forceContextQualifier}.zip" basedir="${temp.folder}" filesonly="true" whenempty="skip" update="false"/>
+ <zip destfile="${plugin.destination}/${docPlugin}_${pluginVersion}.zip" basedir="${temp.folder}" filesonly="true" whenempty="skip" update="false"/>
<delete dir="${temp.folder}"/>
</target>

Back to the top