From 0e63575f95dafe1cdb67fb1cc3814ac97e51596e Mon Sep 17 00:00:00 2001
From: Nicolas Capponi <nicolas.capponi@forgerock.com>
Date: Fri, 19 Sep 2014 15:36:37 +0000
Subject: [PATCH] OPENDJ-1388 CR-3446 Implement simple changelog db based on single log file

---
 opendj3-server-dev/build.xml |   20 ++++++++++++++++++--
 1 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/opendj3-server-dev/build.xml b/opendj3-server-dev/build.xml
index 1d0d0bf..b72a5ff 100644
--- a/opendj3-server-dev/build.xml
+++ b/opendj3-server-dev/build.xml
@@ -2204,6 +2204,13 @@
     <echo message="      Default debug target:"/>
     <echo message="      org.opends.server:level=warning,category=caught|data|database-access|message|protocol,stack,cause" />
     <echo message=""/>
+    <echo message="  -Dorg.opends.test.replicationDbImpl=LOG"/>
+    <echo message="      indicates which implementation to use for replication DB."/>
+    <echo message="      Value must be one of: JE, LOG." />
+    <echo message="      JE: use berkeley DB JE as implementation." />
+    <echo message="      LOG: use log file as implementation." />
+    <echo message="      Default value is JE" />
+    <echo message=""/>
     <echo message="  -Dtest.diff.srcpath=src/server/org/opends/server/core"/>
     <echo message="      for example includes only the classes in"/>
     <echo message="      src/server/org/opends/server/core in the coveragediff report."/>
@@ -2281,7 +2288,15 @@
       </not>
     </condition>
 
-    <!-- This sets org.opends.test.suppressOutput if and only if it's not
+    <!-- This sets org.opends.test.replicationDbImpl if and only if it's not
+         already set. -->
+    <condition property="org.opends.test.replicationDbImpl" value="JE">
+      <not>
+        <isset property="org.opends.test.replicationDbImpl" />
+      </not>
+    </condition>
+
+     <!-- This sets org.opends.test.suppressOutput if and only if it's not
          already set. -->
     <condition property="org.opends.test.suppressOutput" value="true">
       <not>
@@ -2289,7 +2304,7 @@
       </not>
     </condition>
 
-    <!-- This sets org.opends.test.pauseOnFailure if and only if it's not
+  	<!-- This sets org.opends.test.pauseOnFailure if and only if it's not
          already set. -->
     <condition property="org.opends.test.pauseOnFailure" value="false">
       <not>
@@ -2398,6 +2413,7 @@
       <jvmarg value="-Dorg.opends.server.BuildDir=${build.dir}" />
       <jvmarg value="-Dorg.opends.server.RunningUnitTests=true" />
       <jvmarg value="-Dorg.opends.server.snmp.opendmk=${opendmk.lib.dir}"/>
+      <jvmarg value="-Dorg.opends.test.replicationDbImpl=${org.opends.test.replicationDbImpl}" />
       <jvmarg value="-Dorg.opends.test.suppressOutput=${org.opends.test.suppressOutput}" />
       <jvmarg value="-Dorg.opends.test.pauseOnFailure=${org.opends.test.pauseOnFailure}" />
       <jvmarg value="-Dorg.opends.server.debug.target=${org.opends.server.debug.target}" />

--
Gitblit v1.10.0