You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Assaf Arkin (JIRA)" <ji...@apache.org> on 2008/09/25 18:17:44 UTC

[jira] Resolved: (BUILDR-152) Project#task doesn't work for "absolute" task names

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

Assaf Arkin resolved BUILDR-152.
--------------------------------

    Resolution: Fixed

Thanks, fixed.

> Project#task doesn't work for "absolute" task names
> ---------------------------------------------------
>
>                 Key: BUILDR-152
>                 URL: https://issues.apache.org/jira/browse/BUILDR-152
>             Project: Buildr
>          Issue Type: Bug
>    Affects Versions: 1.3.2
>            Reporter: Ittay Dror
>             Fix For: 1.3.3
>
>
> when Project#task handles a name starting with ':' it defines the task in the global (empty) scope. However, because it is done inside a block, the assigning to the 'task' variable is limited to the block. When the block ends, the task variable outside is nil.
> to fix, set 'task = nil' before going inside the block

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.