From d42b15e420478dc45785fff6e00b863cc1f8a0f9 Mon Sep 17 00:00:00 2001
From: lutoff <lutoff@localhost>
Date: Thu, 18 Sep 2008 10:14:53 +0000
Subject: [PATCH] These changes are separating the current delivery into an "Install Layout" (the binaries) and an "Instance Layout" (the user data).
---
opends/src/server/org/opends/server/core/DefaultCompressedSchema.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/opends/src/server/org/opends/server/core/DefaultCompressedSchema.java b/opends/src/server/org/opends/server/core/DefaultCompressedSchema.java
index 8a4dbb7..fbf7e5a 100644
--- a/opends/src/server/org/opends/server/core/DefaultCompressedSchema.java
+++ b/opends/src/server/org/opends/server/core/DefaultCompressedSchema.java
@@ -135,7 +135,7 @@
// Determine the location of the compressed schema data file. It should
// be in the config directory with a name of "schematokens.dat". If that
// file doesn't exist, then don't do anything.
- String path = DirectoryServer.getServerRoot() + File.separator +
+ String path = DirectoryServer.getInstanceRoot() + File.separator +
CONFIG_DIR_NAME + File.separator +
COMPRESSED_SCHEMA_FILE_NAME;
if (! new File(path).exists())
@@ -274,7 +274,7 @@
// Determine the location of the "live" compressed schema data file, and
// then append ".tmp" to get the name of the temporary file that we will
// use.
- String path = DirectoryServer.getServerRoot() + File.separator +
+ String path = DirectoryServer.getInstanceRoot() + File.separator +
CONFIG_DIR_NAME + File.separator +
COMPRESSED_SCHEMA_FILE_NAME;
String tempPath = path + ".tmp";
--
Gitblit v1.10.0