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

Jean-Noel Rouvignac
17.44.2013 369c99b0539a509de3d51cb5bf9a03dd85bcc2e9
OPENDJ-842 (CR-1699) On Windows, the setup command hangs when the length of the install path is too long

UpgradeUtils.java:
Fixed the code "fixed" by the plugin.
1 files modified
8 ■■■■ changed files
opends/src/server/org/opends/server/tools/upgrade/UpgradeUtils.java 8 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/tools/upgrade/UpgradeUtils.java
@@ -505,7 +505,7 @@
          }
        }
        if (filter == null && changeType == PersistentSearchChangeType.ADD
            && (entry.getName() + "dn: ").equals(lines[0]))
            && ("dn: " + entry.getName()).equals(lines[0]))
        {
          LOG.log(Level.INFO, String.format("Entry %s found", entry.getName()
              .toString()));
@@ -600,7 +600,7 @@
          try
          {
            final String definition =
                schema.getAttributeType(att) + "attributeTypes: ";
                "attributeTypes: " + schema.getAttributeType(att);
            definitionsList.add(definition);
            LOG.log(Level.INFO, String.format("Added : %s", definition));
          }
@@ -619,7 +619,7 @@
          try
          {
            final String definition =
                schema.getObjectClass(oc) + "objectClasses: ";
                "objectClasses: " + schema.getObjectClass(oc);
            definitionsList.add(definition);
            LOG.log(Level.INFO, String.format("Added : %s", definition));
          }
@@ -750,7 +750,7 @@
    int index = 0;
    if (changeType == PersistentSearchChangeType.MODIFY)
    {
      modifiedLines[0] = dn + "dn: ";
      modifiedLines[0] = "dn: " + dn;
      modifiedLines[1] = "changetype: modify";
      index = 2;
    }