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 2012/10/07 01:49:10 UTC

[jira] [Updated] (BUILDR-581) TypeError in compile.rb:102 can't convert Rake::FileTask into String

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

Peter Donald updated BUILDR-581:
--------------------------------

    Fix Version/s: 1.5
    
> TypeError in compile.rb:102 can't convert Rake::FileTask into String
> --------------------------------------------------------------------
>
>                 Key: BUILDR-581
>                 URL: https://issues.apache.org/jira/browse/BUILDR-581
>             Project: Buildr
>          Issue Type: Bug
>          Components: Core features
>    Affects Versions: 1.4.5
>            Reporter: Stephen Haberman
>            Priority: Minor
>             Fix For: 1.5
>
>
> In a completely empty directory, with just this buildfile:
> define 'foo' do
>   bin = file(_('bin/java'))
>   compile.from bin
> end
> The compiler detection will blow (no src/main/java, etc.) when it tries to detect against bin, which is a FileTask, as it was expecting only strings.

--
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