From f20eeb18502ebbd7fc070482a61b1770b3ba0f70 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Thu, 17 May 2007 17:07:39 +0000
Subject: [PATCH] Fix the rebuild target in the build script so that it computes the version number correctly.
---
opends/build.xml | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/opends/build.xml b/opends/build.xml
index 86d04e6..063118e 100644
--- a/opends/build.xml
+++ b/opends/build.xml
@@ -560,6 +560,18 @@
</not>
</condition>
+ <!-- Construct the version number string -->
+ <taskdef name="getversionnumber"
+ classname="org.opends.build.tools.CreateVersionString">
+ <classpath>
+ <fileset dir="${build.dir}/build-tools">
+ <include name="*.jar" />
+ </fileset>
+ </classpath>
+ </taskdef>
+
+ <getversionnumber property="VERSION_NUMBER_STRING" />
+
<!-- Set properties needed to find the packaged files -->
<property name="pdir"
location="${package.dir}/OpenDS-${VERSION_NUMBER_STRING}" />
--
Gitblit v1.10.0