[ 
https://issues.apache.org/jira/browse/MRM-1806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15212560#comment-15212560
 ] 

Oliver E commented on MRM-1806:
-------------------------------

This test also fails on Windows 7, JDK8.

With archiva 2.2.0 this changed to:
{{java.nio.file.FileSystemException: The process cannot access the file because 
it is being used by another process}}
at
{{Files.copy( largeJar.toPath(), lock.getFile().toPath(), 
StandardCopyOption.REPLACE_EXISTING );}}

Any ideas on this?

> Filelock unit test issue on windows file system
> -----------------------------------------------
>
>                 Key: MRM-1806
>                 URL: https://issues.apache.org/jira/browse/MRM-1806
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>         Environment: windows 8.1
>            Reporter: Eric Barboni
>
> DefaultFileLockManagerTimeoutTest testTimeout is failing on line 78
> because of an execption raised in FileUtils.copyFile
> java.io.IOException: The process cannot access the file because another 
> process has locked a portion of the file
> FileUtils.copyFile( largeJar, lock.getFile() );
> It's disrupting behaviour of plugin on windows 8.1.
> https://issues.apache.org/jira/browse/IO-376 is showing similar symptom.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to