summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpelder2007-04-23 17:04:54 (EDT)
committerpelder2007-04-23 17:04:54 (EDT)
commitc45729404a4c0862b83e5f218d157caedf17743b (patch)
tree6bd27ad45bb28bff759e7597235f8b08af31eea8
parentc12a7a86d53d72e178859d98d4b215ab2f143ca9 (diff)
downloadorg.eclipse.jet-c45729404a4c0862b83e5f218d157caedf17743b.zip
org.eclipse.jet-c45729404a4c0862b83e5f218d157caedf17743b.tar.gz
org.eclipse.jet-c45729404a4c0862b83e5f218d157caedf17743b.tar.bz2
[181212] get doc plug-in version from builder.
-rw-r--r--doc/org.eclipse.jet.doc/build.xml19
1 files changed, 10 insertions, 9 deletions
diff --git a/doc/org.eclipse.jet.doc/build.xml b/doc/org.eclipse.jet.doc/build.xml
index 5a3a56f..4dcb122 100644
--- a/doc/org.eclipse.jet.doc/build.xml
+++ b/doc/org.eclipse.jet.doc/build.xml
@@ -1,8 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="org.eclipse.jet.doc" default="build.jars" basedir=".">
+ <property file="${buildDirectory}/finalPluginsVersions.properties"/>
<!-- Plug-in version. This is a HACK. Do not forget to update. -->
- <property name="pluginVersion" value="0.8.0"/>
+ <property name="pluginVersion" value="${org.eclipse.jet.doc}"/>
<property name="plugin" value="org.eclipse.jet"/>
<property name="docPlugin" value="org.eclipse.jet.doc"/>
@@ -55,7 +56,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>
@@ -78,13 +79,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">
@@ -97,8 +98,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>
@@ -117,7 +118,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>