[
https://issues.apache.org/jira/browse/BUILDR-130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12635693#action_12635693
]
Ittay Dror commented on BUILDR-130:
-----------------------------------
In the use case I'm describing, #artifact receives a symbol, so it calls
artifact_ns.fetch to get the artifact. However, the symbol was created with
#group (artifact_ns.foo = group(...)), so an array is returned. Currently
#artifact can't handle it because it can't handle arrays. So #group cannot be
used to assign a set of artifacts to a symbol. This means loosing some
functionality when using artifact namespaces compared to using constant values.
(where 'with CONSTANT_CREATED_WITH_GROUP' works fine since it uses #artifacts
first)
Forget the patch, I was trying to be helpful, but apparently don't understand
the philosophy behind each method. What I'd like is to be able to group several
artifacts into a single namespace symbol
> Allow working with groups in namespaces
> ---------------------------------------
>
> Key: BUILDR-130
> URL: https://issues.apache.org/jira/browse/BUILDR-130
> Project: Buildr
> Issue Type: Improvement
> Components: Dependency management
> Affects Versions: 1.3.2
> Reporter: Ittay Dror
> Fix For: 1.3.3
>
> Attachments: buildr.patch
>
>
> If I work with a group in a namespace, then passing the group's name means
> the artifact method receives an array from ArtifactNamespace#fetch
> Attached is a patch to fix this
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.