You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Peter Donald (JIRA)" <ji...@apache.org> on 2013/06/09 01:48:20 UTC

[jira] [Closed] (BUILDR-668) resource incude filter doesn't work with '*.{html,css}' syntax

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

Peter Donald closed BUILDR-668.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4.13
         Assignee: Peter Donald

Fix committed in r1491099.

Note that several issues with ruby 2.0.0 have been identified and fixed, but at this stage there is 3 more that are identified by the test suite still need to be diagnosed and addressed.

Thanks!
                
> resource incude filter doesn't work with  '*.{html,css}' syntax
> ---------------------------------------------------------------
>
>                 Key: BUILDR-668
>                 URL: https://issues.apache.org/jira/browse/BUILDR-668
>             Project: Buildr
>          Issue Type: Bug
>          Components: Core features
>    Affects Versions: 1.4.12
>         Environment: Ubuntu 13.04 64-bit
> $ ruby --version
> ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]
> $ buildr --version
> Buildr 1.4.12
>            Reporter: Yavor Nikolov
>            Assignee: Peter Donald
>             Fix For: 1.4.13
>
>
> I'm trying to use something like that to copy resources:
> 	filter('src/main/rdbms').include('**/*.{sql,pls,tab}').into('target/main/rdbms').run()
> As per docs (http://buildr.apache.org/building.html#resources) - I expected this to copy all files with the given extensions but it doesn't work that way.
> I suspect that's related to filter.rb is calling File.fnmatch without File::FNM_EXTGLOB flag.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira