[
https://issues.apache.org/jira/browse/BUILDR-419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Donald closed BUILDR-419.
-------------------------------
> 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
> Labels: exclude, packaging, war
> Fix For: 1.4
>
> Attachments: BUILDR-419.txt, 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira