buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Boisvert (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (BUILDR-183) can't define root artifact namespace in the usual way
Date Sun, 28 Feb 2010 16:51:06 GMT

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

Alex Boisvert resolved BUILDR-183.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4

Thanks for the fix + spec, Ittay.

I've applied your patches,
Sending        CHANGELOG
Sending        lib/buildr/packaging/artifact_namespace.rb
Sending        spec/packaging/artifact_namespace_spec.rb
Transmitting file data ...
Committed revision 917200.


> 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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message