You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Chetan Sarva (JIRA)" <ji...@apache.org> on 2010/04/09 02:36:36 UTC

[jira] Updated: (BUILDR-419) Exclusion patterns only work if they contain a wildcard

     [ https://issues.apache.org/jira/browse/BUILDR-419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chetan Sarva updated BUILDR-419:
--------------------------------

    Attachment: testcase.zip

> Exclusion patterns only work if they contain a wildcard
> -------------------------------------------------------
>
>                 Key: BUILDR-419
>                 URL: https://issues.apache.org/jira/browse/BUILDR-419
>             Project: Buildr
>          Issue Type: Bug
>          Components: Packaging
>    Affects Versions: 1.3.5, 1.4
>            Reporter: Chetan Sarva
>            Priority: Minor
>         Attachments: testcase.zip
>
>
> 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|
>             # 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. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.