[
http://jira.codehaus.org/browse/MRESOURCES-48?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_113723
]
Jim Sellers commented on MRESOURCES-48:
---------------------------------------
This might be an issue with the java version itself. I ran into a problem that
looks the same.
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6481955
When I upgraded to Java version: 1.5.0_11 it fixed it.
HTH
> Failed to copy full contents from
> ---------------------------------
>
> Key: MRESOURCES-48
> URL: http://jira.codehaus.org/browse/MRESOURCES-48
> Project: Maven 2.x Resources Plugin
> Issue Type: Bug
> Affects Versions: 2.2
> Reporter: Thomas Hart
> Priority: Blocker
> Attachments: error.log
>
>
> Every time i execute a maven i get the message: 'Failed to copy full
> contents'. I check the code from the class FileUtils and there is a simle
> File#length() compare.
> {code}
> if( source.length() != destination.length() )
> {
> final String message = "Failed to copy full contents from " + source +
> " to " + destination;
> throw new IOException( message );
> }
> {code}
> mvn -version
> Maven version: 2.0.7
> Java version: 1.5.0_04
> OS name: "windows xp" version: "5.1" arch: "x86"
--
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