[ 
https://issues.apache.org/jira/browse/TUSCANY-2296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12599075#action_12599075
 ] 

Luciano Resende commented on TUSCANY-2296:
------------------------------------------

Let me try to give my 2c here :

I tend to compare contribution process to how a development IDE would process a 
java project. You want the code that process your java project to tell you 
about compilation errros, etc then it needs to process all the files.... 

In the SCA case, the contribution service would process all artifacts and most 
of the times only display warnings. This would still allow you to deploy and 
start components even tough your contribution is not all complete and correct 
and would also allow you to debug stuff ... 

So I think we should take a look at this... i might be able to help in a week 
or two.



> SCADomain.newInstance() processes all composites in the contribution 
> irrespective of the parameter passed
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-2296
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2296
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Embedded Runtime
>    Affects Versions: Java-SCA-1.2
>            Reporter: Vamsavardhana Reddy
>             Fix For: Java-SCA-Next
>
>         Attachments: TUSCANY-2296-recreate.patch
>
>
> I have two composites, namely "proper.composite" and "error.composite", in my 
> test project.  "proper.composite" is used to test proper contribution without 
> any errors whereas "error.composite" is used to test a problematic 
> contribution.  But when I initialize a domain using SCADomain. 
> newInstance("proper.composite"), I am getting an exception due to 
> "error.composite".  Though it looks as if the call SCADomain. 
> newInstance("proper.composite") processes only "proper.composite", in reality 
> it is processing all the .composite files present in the project irrespective 
> of the parameter passed to SCADomain.newInstance().

-- 
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