You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Richard S. Hall (JIRA)" <ji...@apache.org> on 2010/02/20 06:53:27 UTC

[jira] Commented: (FELIX-2110) The resolver should be able to resolve for some requirements in addition to resources

    [ https://issues.apache.org/jira/browse/FELIX-2110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836121#action_12836121 ] 

Richard S. Hall commented on FELIX-2110:
----------------------------------------

I'm hesitant to start adding variations of things that are already possible. If you just create a fake resource that has no content associated with it, then it cannot be deploy. If the current implementation errors in this situation, that is an easy fix.

> The resolver should be able to resolve for some requirements in addition to resources
> -------------------------------------------------------------------------------------
>
>                 Key: FELIX-2110
>                 URL: https://issues.apache.org/jira/browse/FELIX-2110
>             Project: Felix
>          Issue Type: Improvement
>          Components: Bundle Repository (OBR)
>            Reporter: Guillaume Nodet
>
> For example if one want to resolve a given package.
> We could add
>    void add(Requirement requirement);
> on the Resolver.
> Another way would be to create a fake resource with the requirement.  This works as long as you don't want to actually install, because the resolver would then need a real resource.  So in all cases, the resolver need to know about those resources, so it may be easier to let him create and handle those completely.

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