You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Yavor Nikolov (JIRA)" <ji...@apache.org> on 2013/05/19 21:45:16 UTC
[jira] [Created] (BUILDR-668) resource incude filter doesn't work
with '*.{html,css}' syntax
Yavor Nikolov created BUILDR-668:
------------------------------------
Summary: 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
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