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.
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.
- relates to
-
JDK-8281470 tools/jar/CreateMissingParentDirectories.java fails with "Should have failed creating jar file"
- Resolved