You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2006/12/27 01:06:10 UTC

[jira] Closed: (MASSEMBLY-170) ManifestCreationFinalizer does not close File handles causing tests to fail

     [ http://jira.codehaus.org/browse/MASSEMBLY-170?page=all ]

Brett Porter closed MASSEMBLY-170.
----------------------------------

         Assignee: Brett Porter
       Resolution: Fixed
    Fix Version/s: 2.2

applied, thanks. Some notes:
- please honour the formatting conventions
- used IOUtils.close instead

> ManifestCreationFinalizer does not close File handles causing tests to fail
> ---------------------------------------------------------------------------
>
>                 Key: MASSEMBLY-170
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-170
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2
>         Environment: Windows XP
>            Reporter: Baerrach bonDierne
>         Assigned To: Brett Porter
>             Fix For: 2.2
>
>         Attachments: MASSEMBLY-170-patch.txt
>
>
> finalizeArchiveCreation creates a FileReader but does not call close, which causes the unit tests to fail because the manifest can not be deleted.
> Patches attached.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira