glassfish
  1. glassfish
  2. GLASSFISH-19635

appclient.bat fails when 8.3 support is disabled

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1.1
    • Fix Version/s: future release
    • Component/s: standalone_client
    • Labels:
      None
    • Environment:

      Win7 Pro 64 Bit
      8.3 support is disabled

      Description

      For backwards compatibility, Windows is able to provide a 8.3-shortened name for each file and folder. As most people do not need that (most software is able to deal with longer paths), some administrators switch off this support. As a result, commands like DIR /X (which depend on 8.3 support) do not work anymore.

      One consequence is that the GlassFish batches will not work anymore, as it uses commands like "%%~sa%" in e. g. appclient.bat. The used option (~s) is dependend of enabled 8.3 support.

      As GlassFish is not really dependend on 8.3 files but simply uses ~s as a trick (8.3 guarantees to have no blanks in paths) this should be fixed in a future release. It makes no sense to force Windows administrators to keep 8.3 support enabled, just because some batch programmers did not find another way to deal with blanks in paths (tip: Use Java instead of batch).

        Activity

        Hide
        Tim Quinn added a comment -

        Marking this for fix in a future release, because it does not affect the SDK.

        Show
        Tim Quinn added a comment - Marking this for fix in a future release, because it does not affect the SDK.

          People

          • Assignee:
            Tim Quinn
            Reporter:
            mkarg
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: