From 9d1bd29ee527b598f0e91a9d02920eaacb3f767d Mon Sep 17 00:00:00 2001
From: Nicolas Capponi <nicolas.capponi@forgerock.com>
Date: Wed, 07 May 2014 09:27:48 +0000
Subject: [PATCH] OPENDJ-1388 – Implement simple changelog db based on single log file

---
 opends/build.xml |   22 +++++++++++++++++++---
 1 files changed, 19 insertions(+), 3 deletions(-)

diff --git a/opends/build.xml b/opends/build.xml
index 39f48d2..9c282cf 100644
--- a/opends/build.xml
+++ b/opends/build.xml
@@ -22,7 +22,7 @@
  !
  !
  !      Copyright 2006-2010 Sun Microsystems, Inc.
- !      Portions Copyright 2011-2013 ForgeRock AS
+ !      Portions Copyright 2011-2014 ForgeRock AS
  !      Portions Copyright 2012 Delta Victor Consultants
  ! -->
 
@@ -2158,6 +2158,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 LOG." />
+    <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."/>
@@ -2235,7 +2242,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="LOG">
+      <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>
@@ -2243,7 +2258,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>
@@ -2352,6 +2367,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