From 39939cbeb2965312e1fee64c4cbf824b37ea857c Mon Sep 17 00:00:00 2001
From: jpikus <jpikus@localhost>
Date: Fri, 20 Mar 2009 14:40:00 +0000
Subject: [PATCH] fix incorrect svn revision and add svn url in start-ds -F

---
 opends/build.xml |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/opends/build.xml b/opends/build.xml
index 6b15c58..05d21e2 100644
--- a/opends/build.xml
+++ b/opends/build.xml
@@ -466,6 +466,21 @@
 
     <getsvnrevision property="REVISION_NUMBER" />
 
+    <!-- Get the url repo of the current Subversion workspace -->
+    <taskdef name="getsvnurlrepo"
+             classname="org.opends.build.tools.GetSubversionUrlRepo">
+      <classpath>
+        <fileset dir="${build.dir}/build-tools">
+          <include name="*.jar" />
+        </fileset>
+        <fileset dir="${svnkit.dir}">
+          <include name="*.jar" />
+        </fileset>
+      </classpath>
+    </taskdef>
+
+    <getsvnurlrepo property="URL_REPOSITORY" />
+
 
     <!-- Construct the version number string -->
     <taskdef name="getversionnumber"
@@ -484,7 +499,7 @@
       Be warned that the .stubs file references the following properties
       PRODUCT_NAME, SHORT_NAME, MAJOR_VERSION, MINOR_VERSION, POINT_VERSION,
       VERSION_QUALIFIER, FIX_IDS, timestamp, user.name, java.version,
-      java.vendor, java.vm.version, JVM_VENDOR, DEBUG_BUILD, REVISION_NUMBER,
+      java.vendor, java.vm.version, JVM_VENDOR, DEBUG_BUILD, REVISION_NUMBER,URL_REPOSITORY,
       WEAVE_ENABLED, VERSION_NUMBER_STRING
       If you change the name of any of those properties in this build.xml
       you'll need to reflect the same change in the .stubs file

--
Gitblit v1.10.0