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:00:09 UTC
[jira] Closed: (MASSEMBLY-166) ManifestCreationFinalizerTest fails
on Windows
[ http://jira.codehaus.org/browse/MASSEMBLY-166?page=all ]
Brett Porter closed MASSEMBLY-166.
----------------------------------
Assignee: Brett Porter
Resolution: Fixed
Fix Version/s: 2.2
applied, thanks
> ManifestCreationFinalizerTest fails on Windows
> ----------------------------------------------
>
> Key: MASSEMBLY-166
> URL: http://jira.codehaus.org/browse/MASSEMBLY-166
> 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-166-patch.txt
>
>
> Opening a file inside a Jar locks the file on Windows and therefore can not be deleted as part of the tearDown().
> Patched test to workaround the issue.
> // http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4823678
> ((JarURLConnection)resource.openConnection()).getJarFile().close();
--
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