mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
23.01.2008 d1b2ccab3764bc213af1a527e54df4d81812ca12
opends/src/server/org/opends/server/backends/jeb/BackendImpl.java
@@ -1188,9 +1188,12 @@
        // have one base DN.
        File parentDirectory = getFileForPath(cfg.getDBDirectory());
        File backendDirectory = new File(parentDirectory, cfg.getBackendId());
        if (backendDirectory.exists()) {
        // If the backend does not exist the import will create it.
        if (backendDirectory.exists())
        {
          EnvManager.removeFiles(backendDirectory.getPath());
        }
        envConfig.setReadOnly(false);
        envConfig.setAllowCreate(true);
        envConfig.setTransactional(false);