summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-08-26 01:44:54 (EDT)
committerEike Stepper2007-08-26 01:44:54 (EDT)
commit33bb716be9337780945baf82d4fa96f6e8b83f8e (patch)
tree6efeec5de566077c63dfb52a26f5a4d798bfbbcf
parentb19ce4843aa81ead295dc1f7590580bf370cab3a (diff)
downloadcdo-33bb716be9337780945baf82d4fa96f6e8b83f8e.zip
cdo-33bb716be9337780945baf82d4fa96f6e8b83f8e.tar.gz
cdo-33bb716be9337780945baf82d4fa96f6e8b83f8e.tar.bz2
*** empty log message ***
-rw-r--r--plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/Repository.java10
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/config/cdo.server.xml2
2 files changed, 11 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/Repository.java b/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/Repository.java
index c323100..2013d0d 100644
--- a/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/Repository.java
+++ b/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/Repository.java
@@ -197,6 +197,16 @@ public class Repository extends Container implements IRepository
}
@Override
+ protected void doBeforeActivate() throws Exception
+ {
+ super.doBeforeActivate();
+ if (isSupportingAudits() && !store.hasAuditingSupport())
+ {
+ throw new IllegalStateException("Store without auditing support");
+ }
+ }
+
+ @Override
protected void doActivate() throws Exception
{
super.doActivate();
diff --git a/plugins/org.eclipse.emf.cdo.ui/config/cdo.server.xml b/plugins/org.eclipse.emf.cdo.ui/config/cdo.server.xml
index 66e1904..4c4c43b 100644
--- a/plugins/org.eclipse.emf.cdo.ui/config/cdo.server.xml
+++ b/plugins/org.eclipse.emf.cdo.ui/config/cdo.server.xml
@@ -3,7 +3,7 @@
<repository name="repo1">
<property name="supportingAudits" value="true"/>
- <property name="verifyingRevisions" value="true"/>
+ <property name="verifyingRevisions" value="false"/>
<store type="db">
<!-- mode: OFF | EXPRESS | NORMAL | GUARANTEED -->