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

jar --create should create missing parent directories

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: