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

Jonathan Bardin resolved FELIX-991.
-----------------------------------

    Resolution: Invalid

This issue was due to a "ghost character" in my description file.  
Everything works perfectly. iPOJO rocks !

> Component Name Vs Component ClassName in Composite declaration
> --------------------------------------------------------------
>
>                 Key: FELIX-991
>                 URL: https://issues.apache.org/jira/browse/FELIX-991
>             Project: Felix
>          Issue Type: Bug
>          Components: iPOJO
>    Affects Versions: iPOJO-1.2.0
>         Environment: Java 1.6, Felix 1.4.0
>            Reporter: Jonathan Bardin
>            Assignee: Clement Escoffier
>            Priority: Minor
>
> It seems that when you declare a composite in the same metadata that this 
> component you can use the Component Name for the instance tag (<instance 
> component="*Component Name*">) but not when this component is describe is an 
> other metadata. In this case, you can only use the Component ClassName , not 
> the Component Name.
> Sample:
> ------------------------------
> <iPOJO>
>       <component name="Component A" className="test.component.A">
>        ....
>       </component>
>        
>       <composite name="Composite A" architecture="true">
>           <instance component="Component A"/>
>           <instance component="test.component.B" /> /// <instance 
> component="Component B" /> not work
>       </composite>
> </iPOJO>
> **Other bundle**
> <iPOJO>
>        <component name="Component B" className="test.component.B">
>        ....
>       </component>
> </iPOJO>

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

Reply via email to