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 2016/08/14 07:08:20 UTC

[jira] [Commented] (BUILDR-620) resources.filter should not run on non-text files

    [ https://issues.apache.org/jira/browse/BUILDR-620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15420248#comment-15420248 ] 

Antoine Toulme commented on BUILDR-620:
---------------------------------------

I applied the formula given by the monkey-patching that Alex suggested:

[master 4fd3b06] BUILDR-620: resources.filter should not run on non-text files
 3 files changed, 15 insertions(+)


> resources.filter should not run on non-text files
> -------------------------------------------------
>
>                 Key: BUILDR-620
>                 URL: https://issues.apache.org/jira/browse/BUILDR-620
>             Project: Buildr
>          Issue Type: Bug
>          Components: Packaging
>    Affects Versions: 1.4.6
>         Environment: Unix
>            Reporter: Tilman Keskinöz
>            Assignee: Antoine Toulme
>            Priority: Minor
>             Fix For: 1.5
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)