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 2011/06/22 12:11:12 UTC
[jira] [Closed] (BUILDR-183) can't define root artifact namespace
in the usual way
[ 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