[ https://issues.apache.org/jira/browse/TUSCANY-2296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12599068#action_12599068 ]
tomas darbois commented on TUSCANY-2296: ---------------------------------------- I'm facing the same problem, and I was hoping to see a solution or workaround , instead of reply with Work as Designed :p I ve several composite files that are used depending on the deployement (used by several applications, and in various servers that aren't identical) and I was starting to see a good way to design it in my application, grouping the composites in the same place so that I was having a quicker control on them. I will use some tricks to workaround that problem, but it's considered for me as a really bad point for future enhancements of my application. > 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.