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

neil_a_wilson
25.04.2006 f6023f5673e09974b247444b41702a532a9da399
Fix a problem in the setup utility in which the user would be prompted about
whether they wanted to create the base entry even if they said that they wanted
to import from LDIF (presumably the LDIF being imported will contain the base
entry).

OpenDS Issue Number: 599
1 files modified
5 ■■■■■ changed files
opends/src/server/org/opends/server/tools/InstallDS.java 5 ●●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/tools/InstallDS.java
@@ -456,7 +456,7 @@
    {
      addBase = true;
      if (importLDIF.isPresent())
      if ((ldifFiles != null) && (! ldifFiles.isEmpty()))
      {
        int msgID = MSGID_INSTALLDS_TWO_CONFLICTING_ARGUMENTS;
        String message = getMessage(msgID, addBaseEntry.getLongIdentifier(),
@@ -465,7 +465,8 @@
        return 1;
      }
    }
    else if (silentInstall.isPresent() || importLDIF.isPresent())
    else if (silentInstall.isPresent() ||
             ((ldifFiles != null) && (! ldifFiles.isEmpty())))
    {
      addBase = false;
    }