Jar tool's command line help confusingly recommends using '/' in directory name

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: 5.0u5
    • Component/s: core-libs
    • None
    • Fix Understood
    • generic
    • generic

      When the jar command is run without arguments, it prints some help, at the end including this example:

      Example 2: use an existing manifest file 'mymanifest' and archive all the
                 files in the foo/ directory into 'classes.jar':
             jar cvfm classes.jar mymanifest -C foo/ .

      Including the '/' in "foo/" is worse than confusing: On windows, it causes the resulting jar to be created as if the -C had not been given.

            Assignee:
            Unassigned
            Reporter:
            Dave Bristor (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: