fitnesse:run fails when using copyDependencies
----------------------------------------------

                 Key: MFITNESSE-32
                 URL: http://jira.codehaus.org/browse/MFITNESSE-32
             Project: Maven 2.x Fitnesse Plugin
          Issue Type: Bug
    Affects Versions: 1.0, 1.1-beta-1
         Environment: Windows XP
            Reporter: Jon BrĂ¥ten
            Assignee: pkernevez
         Attachments: copyDependenciesWithDirectories.patch

When using copyDependencies and fitnesse:run, the build will fail with a 
message like:

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] File not found
Embedded error: [somepath]\target\classes (No access)

Note! Actual message in last paranthesis in the last line depends on language 
of the windows-installation.

This happens because the method copyDependenciesLocally does not differ between 
files and directories, thus fails on the copy operation attempted on a 
directory. 

I've modified the method to simply append the directory to the resulting 
classpath, and updated the corresponding unit test to cover this scenario too. 
See attached patch.


-- 
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



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to