1) If a contribution doesn't have sca-contribution.xml for the exports, all the 
artifacts should be private to the contribution (similar as an OSGi bundle that 
doesn't export any packages). We can only use it by attaching a deployment 
composite. I don't think we should change the visibility. 

2) The SCA spec doesn't allow duplicate component names within the domain. If 
two contributions both contain deployable composites that have name conflicts. 
That's an error. Why does Tuscany try to allow that?

Thanks,
Raymond
________________________________________________________________ 
Raymond Feng
[email protected]
Apache Tuscany PMC member and committer: tuscany.apache.org
Co-author of Tuscany SCA In Action book: www.tuscanyinaction.com
Personal Web Site: www.enjoyjava.com
________________________________________________________________

On Sep 30, 2010, at 1:14 AM, ant elder wrote:

> I can. Its so we have enough control to easily support all the valid
> usages of contributions and combinations of contributions. Eg, take a
> look at samples/getting-started/scdl-include, theres no doc or readme
> yet but it uses two contributions, helloworld and scdl-include,
> presently you can't easily use that with the Node API because there is
> no way to add the additional sca-contribution.xml metadata to add
> exports to the helloworld contribution, or to stop the helloworld
> contribution deployables from being deployed which will cause
> duplicate component names as it uses the same names as the
> scdl-include contribution.
> 
>   ...ant
> 
> On Wed, Sep 29, 2010 at 5:35 PM, Raymond Feng <[email protected]> wrote:
>> Hi,
>> Can you explain why we need to add these extra configuration parameters?
>> Thanks,
>> Raymond
>> ________________________________________________________________
>> Raymond Feng
>> [email protected]
>> Apache Tuscany PMC member and committer: tuscany.apache.org
>> Co-author of Tuscany SCA In Action book: www.tuscanyinaction.com
>> Personal Web Site: www.enjoyjava.com
>> ________________________________________________________________
>> On Sep 29, 2010, at 8:47 AM, [email protected] wrote:
>> 
>> Author: antelder
>> Date: Wed Sep 29 15:47:25 2010
>> New Revision: 1002694
>> 
>> URL: http://svn.apache.org/viewvc?rev=1002694&view=rev
>> Log:
>> Add extra contribution attributes. these are currently only supported by the
>> node2 Node, i guess all the config classes could be copied to there instead
>> of changing these here, but ideally node/node2 will get merged into one so
>> node2 will go away.
>> 

Reply via email to