Uploaded image for project: 'Buildr'
  1. Buildr
  2. BUILDR-419

Exclusion patterns only work if they contain a wildcard

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3.5, 1.4
    • Fix Version/s: 1.4
    • Component/s: Packaging

      Description

      When creating a WAR package, exclusion patterns without a wildcard do not work. For example:

      package(:war).tap do |war|
      war.path("WEB-INF/classes").tap do |path|

      1. path.exclude("foo.xml") # does not work
        path.exclude("*.xml") # works
        path.exclude("*.properties")
        end
        end

      attached is a testcase project layout that displays the behaviour.

        Attachments

        1. testcase.zip
          3 kB
          Chetan Sarva
        2. BUILDR-419.txt
          2 kB
          Antoine Toulme

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              csarva Chetan Sarva
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: