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

Exclusion patterns only work if they contain a wildcard

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.3.5, 1.4
    • 1.4
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: