Uploaded image for project: 'Buildr (Retired)'
  1. Buildr (Retired)
  2. BUILDR-92

IDEA 7x: add resources directories to classpath

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.2
    • 1.3.2
    • None
    • None

    Description

      Since Buildr 1.3, resources are no longer merged with classes into the target/classes directory.
      They now have their own target dir: target/resources, target/test/resources.

      However IDEA doe snot support multiple output directories, which means that only target/classes and target/test/classes are included in "Run/Test configurations".
      Resources are ignored, and not added in the classpath. Thus Run/Tests fail.

      The fix is to add target/resources, target/test/resources as module dependencies in the module definition file.

      Attachments

        1. BUILDR-92.patch.txt
          2 kB
          Alexis Midon

        Issue Links

          Activity

            People

              Unassigned Unassigned
              alexismidon Alexis Midon
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: