Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0, 1.1-beta-1
-
Fix Version/s: 1.1-beta-1
-
Labels:None
-
Environment:Windows XP
-
Patch Submitted:Yes
-
Number of attachments :
Description
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.