buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Donald (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (BUILDR-183) can't define root artifact namespace in the usual way
Date Wed, 22 Jun 2011 10:11:12 GMT

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

Peter Donald closed BUILDR-183.
-------------------------------


> can't define root artifact namespace in the usual way
> -----------------------------------------------------
>
>                 Key: BUILDR-183
>                 URL: https://issues.apache.org/jira/browse/BUILDR-183
>             Project: Buildr
>          Issue Type: Bug
>          Components: Dependency management
>    Affects Versions: 1.3.2
>            Reporter: Ittay Dror
>             Fix For: 1.4
>
>         Attachments: 0001-BUILDR-183-fix-spec-to-reveal-bug.patch, 0002-BUILDR-183-yield-to-block-if-root-namespace-is-retu.patch
>
>
> Normally, I can do:
> define 'some-project' do
>   artifact_ns do |ns|
>      ns.foo = '....'
>   end
> end
> however, when done outside of any project, this doesn't work.
> the reason is that 'artifact_ns' calls the instance method which returns 'ROOT' if the
name is empty without yielding to the block. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message