Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8281104

jar --create should create missing parent directories

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 19
    • None
    • tools
    • None
    • jar
    • b09

    Description

      Make "jar --create --file a/b/foo.jar" create missing parent directories a/b before writing to file "foo.jar" in directory "a/b".

      This eliminates the need to create the destination directory "manually", for example calling an OS command "mkdir a/b" before the "jar" shown above.

      Prior art: tools like "javac" and "javadoc" already do create missing parent directories before writing results into a designated destination directory passed via their `-d` option.

      Attachments

        Issue Links

          Activity

            People

              cstein Christian Stein
              cstein Christian Stein
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: