From b4d3ffb7b344301c97bb5c31ec1fa0e10628b85a Mon Sep 17 00:00:00 2001
From: vharseko <vharseko@openam.org.ru>
Date: Tue, 18 Sep 2018 10:37:31 +0000
Subject: [PATCH] allow getInstallPath from classes

---
 opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/Utilities.java |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/Utilities.java b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/Utilities.java
index 68fb0d6..e9de90d 100644
--- a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/Utilities.java
+++ b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/Utilities.java
@@ -1839,13 +1839,14 @@
     {
       final String normPath = classPath.replace(File.separatorChar, '/');
       if (normPath.endsWith(OPENDJ_BOOTSTRAP_CLIENT_JAR_RELATIVE_PATH)
-          || normPath.endsWith(OPENDJ_BOOTSTRAP_JAR_RELATIVE_PATH))
+          || normPath.endsWith(OPENDJ_BOOTSTRAP_JAR_RELATIVE_PATH) 
+          || normPath.endsWith("classes"))
       {
         return classPath;
       }
     }
     return null;
-  }
+  } 
 
   /**
    * Returns whether the server located in the provided path is running.

--
Gitblit v1.10.0