You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Antoine Toulme (JIRA)" <ji...@apache.org> on 2010/04/10 19:58:48 UTC

[jira] Resolved: (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 ]

Antoine Toulme resolved BUILDR-419.
-----------------------------------

    Fix Version/s: 1.4
       Resolution: Fixed

I committed my changes, I could not find a way to do the job nearer to the code.

11:01:58~/w/buildr>svn ci spec/java/packaging_spec.rb lib/buildr/packaging/archive.rb CHANGELOG -m "fix for BUILDR-419 Exclusion patterns only work if they contain a wildcard"
Sending        CHANGELOG
Sending        lib/buildr/packaging/archive.rb
Sending        spec/java/packaging_spec.rb
Transmitting file data ...
Committed revision 932775.

> 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
>             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.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira