You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brad Szabo (JIRA)" <ji...@codehaus.org> on 2008/02/15 15:26:29 UTC

[jira] Commented: (MRESOURCES-48) Failed to copy full contents from

    [ http://jira.codehaus.org/browse/MRESOURCES-48?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_123787 ] 

Brad Szabo commented on MRESOURCES-48:
--------------------------------------

I have this issue appearing consistently on a build using Maven 2.0.8, Resources plugin version 2.2, and JDK 1.6.0_04 all running on RHEL 4. The JDK bug referenced above obviously does not apply to this environment, but just for reference, the path length causing the problem is only 146 characters.

> 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