You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2022/08/19 20:07:27 UTC

[Bug 66231] New: Manifest task doesn't create parent paths like Zip/Jar/War/Ear

https://bz.apache.org/bugzilla/show_bug.cgi?id=66231

            Bug ID: 66231
           Summary: Manifest task doesn't create parent paths like
                    Zip/Jar/War/Ear
           Product: Ant
           Version: 1.10.12
          Hardware: PC
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Core tasks
          Assignee: notifications@ant.apache.org
          Reporter: robert.flaherty@oracle.com
  Target Milestone: ---

It would be nice if the Manifest task would create the parent paths of the
"file" attribute like Zip/Jar/War/Ear do in Zip.java's executeMain() for the
"zipFile" property:

            final File parent = zipFile.getParentFile();
            if (parent != null && !parent.isDirectory()
                && !(parent.mkdirs() || parent.isDirectory())) {
                throw new BuildException(
                    "Failed to create missing parent directory for %s",
                    zipFile);
            }

in ManifestTask.java's execute() at the bottom for the "manifestFile" property.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 66231] Manifest task doesn't create parent paths like Zip/Jar/War/Ear

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66231

Stefan Bodewig <bo...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |1.10.13
                 OS|                            |All
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Stefan Bodewig <bo...@apache.org> ---
good idea, added.

-- 
You are receiving this mail because:
You are the assignee for the bug.