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/quicksetup/org/opends/quicksetup/installer/offline/OfflineInstaller.java | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/opends/src/quicksetup/org/opends/quicksetup/installer/offline/OfflineInstaller.java b/opends/src/quicksetup/org/opends/quicksetup/installer/offline/OfflineInstaller.java
index cf7622a..2437a05 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/installer/offline/OfflineInstaller.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/installer/offline/OfflineInstaller.java
@@ -30,6 +30,7 @@
import org.opends.messages.Message;
import static org.opends.messages.QuickSetupMessages.*;
+
import java.io.PrintStream;
import java.io.File;
import java.util.ArrayList;
@@ -542,6 +543,15 @@
/**
* {@inheritDoc}
*/
+ public String getInstancePath()
+ {
+ String installPath = Utils.getInstallPathFromClasspath();
+ return Utils.getInstancePathFromClasspath(installPath);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
protected String getOpenDSClassPath()
{
return System.getProperty("java.class.path");
--
Gitblit v1.10.0