[ 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