Mojo's Fitnesse Maven Plugin
  1. Mojo's Fitnesse Maven Plugin
  2. MFITNESSE-32

fitnesse:run fails when using copyDependencies

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major 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 :
      1

      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.

        Activity

        Philippe Kernevez made changes -
        Field Original Value New Value
        Fix Version/s 1.1-beta-1 [ 14175 ]
        Philippe Kernevez made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Philippe Kernevez
            Reporter:
            Jon Bråten
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: