Uploaded image for project: 'Buildr (Retired)'
  1. Buildr (Retired)
  2. BUILDR-668

resource incude filter doesn't work with '*.{html,css}' syntax

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4.12
    • 1.4.13
    • Core features
    • None
    • 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

    Description

      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.

      Attachments

        Activity

          People

            pdonald Peter Donald
            javornikolov Yavor Nikolov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: