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

neil_a_wilson
25.04.2006 b5f7f4321720224890683fc30b3ef8e8be0048b5
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
opendj-sdk/opends/src/server/org/opends/server/tools/InstallDS.java 5 ●●●●● patch | view | raw | blame | history
opendj-sdk/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;
    }