| | |
| | | * CDDL HEADER END |
| | | * |
| | | * |
| | | * Copyright 2008 Sun Microsystems, Inc. |
| | | * Copyright 2008-2010 Sun Microsystems, Inc. |
| | | */ |
| | | |
| | | package org.opends.guitools.controlpanel.util; |
| | |
| | | import org.opends.server.types.CanceledOperationException; |
| | | import org.opends.server.types.ConditionResult; |
| | | import org.opends.server.types.DN; |
| | | import org.opends.server.types.DirectoryEnvironmentConfig; |
| | | import org.opends.server.types.DirectoryException; |
| | | import org.opends.server.types.Entry; |
| | | import org.opends.server.types.IndexType; |
| | |
| | | serverRoot = rootFile.getAbsolutePath(); |
| | | |
| | | File instanceRootFile = |
| | | DirectoryServer.getEnvironmentConfig(). |
| | | getInstanceRootFromServerRoot(rootFile); |
| | | DirectoryEnvironmentConfig.getInstanceRootFromServerRoot(rootFile); |
| | | instanceRoot = instanceRootFile.getAbsolutePath(); |
| | | } |
| | | catch (InitializationException ie) |