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

resources.filter should not run on non-text files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4.6
    • 1.5
    • Packaging
    • None
    • Unix

    Description

      A JPEG file in my resources was causing this build failure:

      Exception while invoking prerequisites of task <Rake::Task package => [build]>
      sh: Syntax error: EOF in backquote substitution
      Buildr aborted!
      ArgumentError : symbol string may not contain `\0'
      /var/lib/gems/1.8/gems/buildr-1.4.6/lib/buildr/core/filter.rb:319:in `to_sym'
      /var/lib/gems/1.8/gems/buildr-1.4.6/lib/buildr/core/filter.rb:319:in `transform'
      /var/lib/gems/1.8/gems/buildr-1.4.6/lib/buildr/core/filter.rb:336:in `maven_transform'
      /var/lib/gems/1.8/gems/buildr-1.4.6/lib/buildr/core/filter.rb:336:in `gsub'
      /var/lib/gems/1.8/gems/buildr-1.4.6/lib/buildr/core/filter.rb:336:in `maven_transform'
      /var/lib/gems/1.8/gems/buildr-1.4.6/lib/buildr/core/filter.rb:319:in `_send_'
      /var/lib/gems/1.8/gems/buildr-1.4.6/lib/buildr/core/filter.rb:319:in `transform'
      /var/lib/gems/1.8/gems/buildr-1.4.6/lib/buildr/core/filter.rb:187:in `run'
      /var/lib/gems/1.8/gems/buildr-1.4.6/lib/buildr/core/filter.rb:180:in `each'
      /var/lib/gems/1.8/gems/buildr-1.4.6/lib/buildr/core/filter.rb:180:in `run'
      /var/lib/gems/1.8/gems/buildr-1.4.6/lib/buildr/core/filter.rb:86:in `target'

      see also the comment from "Ross" in this thread:
      http://stackoverflow.com/a/6943903/792456

      Attachments

        Activity

          People

            toulmean Antoine Toulme
            arved Tilman Keskinöz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: