| Re: [stp-dev] Using SCA-STP tool with the Tuscany's latest release [Tuscany/SCA Tooling] |
Step 3 will be unnecessary with M3. Vincent fixed the bug yesterday.
Regards,
Stephane Drapeau Obeo
Great Stéphane and Dhaval, after using the new update site, and after some manual steps, I got the tooling up and running, and the sample works fine with Tuscany Java SCA 1.3.2 release.
Below are the steps I needed to do :
1.Install Ganymede SR1 2.Install SCA Tools and Tuscany support from http://download.eclipse.org/stp/sca/last 3.Use eclipse update to add GMF runtime and tools 4.Create new project from Restaurant embedded samples File > New > Example... > SCA > SCA Examples > Next... 5.Fix the SCA Diagram by right clicking and selecting Initialize SCA Composite Diagram this was not available for the first time, and I guess due to unavailable GMF dependencies 6.Create tuscany library and add all modules from the lib directory from the Java SCA 1.3.2 release 7.Clean restaurant java project to fix compilation errors (as the tuscany dependencies were not available) 8.Run the test/client.java
So, questions :
1. Are the gmf dependencies issues I saw expected ? I was using a clean Ganymede SR1 PDE distribution
On Wed, Nov 12, 2008 at 6:47 AM, Stéphane Drapeau
<Stephane.Drapeau@xxxxxxx> wrote:
Hi Dhaval,
I'm very happy to hear that you want help us! The update site you used, isn't correct. The Tuscany feature for SCA is missing. Sorry! Can you try with this one: http://download.eclipse.org/stp/sca/last <http://download.eclipse.org/stp/sca/last>
If you want to try the Restaurant sample you can use the embeded samples. File > New > Example... > SCA > SCA Examples > Next... The samples work with Tuscany 1.3.2. But you need to re-create the diagram files: right click on the composite file > Initialize SCA Composite Diagram file (I will fix this bug).
Best regards,
Stephane Drapeau Obeo
Dhaval Chauhan a écrit :
Hi,
I am interested in helping the SCA-STP tool in moving from Tuscany 1.1 to the latest release i.e. Tuscany 1.3.x.
As a first step, I tried the Restaurant sample[1].
I am using SCA Tool's 1.1.x version[2] (the latest committer build - 200811100815) and have set up my eclipse to point to the Tuscany's 1.3.2 release.
But I am getting following error while trying to run the Client:
Nov 10, 2008 4:46:29 PM org.apache.tuscany.sca.assembly.xml.CompositeProcessor null WARNING: No namespace found: Composite = Restaurant Nov 10, 2008 4:46:29 PM org.apache.tuscany.sca.assembly.xml.CompositeProcessor null WARNING: No namespace found: Composite = Restaurant Exception in thread "main" org.osoa.sca.ServiceUnavailableException: Unable to create SCA binding invoker for local target default reference default (bindingURI=RestaurantServiceComponent operation=getMenus) at org.apache.tuscany.sca.binding.sca.impl.RuntimeSCAReferenceBindingProvider.createInvoker(RuntimeSCAReferenceBindingProvider.java:193) at org.apache.tuscany.sca.core.assembly.RuntimeWireImpl.addReferenceBindingInterceptor(RuntimeWireImpl.java:228) at org.apache.tuscany.sca.core.assembly.RuntimeWireImpl.initInvocationChains(RuntimeWireImpl.java:167) at org.apache.tuscany.sca.core.assembly.RuntimeWireImpl.getInvocationChains(RuntimeWireImpl.java:109) at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.getInvocationChain(JDKInvocationHandler.java:243) at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:148) at $Proxy4.getMenus(Unknown Source) at test.Client.main(Client.java:15)
Does anybody have any idea about this?
[1] http://wiki.eclipse.org/STP/SCA_Component/SCA_First_Steps_With_Composite_Designer [2] http://download.eclipse.org/stp/downloads/
Thanks, Dhaval ------------------------------------------------------------------------
_______________________________________________ stp-dev mailing list stp-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/stp-dev
_______________________________________________ stp-dev mailing list stp-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/stp-dev