Hi Ant.

ant elder a écrit :
Hi Vincent, this sounds useful so it would be good to add it to
Tuscany, but i'm not sure what you're mean by "if someone here is
willing to contribute this launcher"?  Where is the code now?
The described run as / debug as feature is in the SCA project of Eclipse STP.
In this project, we added a launcher to deploy composites on Apache Tuscany.
This launcher is simply a main class containing "SCADomain.newInstance( myComposite.composite );".
SCA Tools provides the integration within Eclipse to call this launcher.

We coded it with Java reflect to avoid direct code dependencies between STP and Tuscany. Otherwise, we would have to go through the Eclipse IP process, which could be long.
You can see the code of this launcher here [0].

The update site for the last build of SCA Tools that includes this feature can be found here [1].
This way, people can test it and may bring feedback.


What I was saying about a second Tuscany launcher was about making another main class using the Tuscany domain manager to deploy composites. Write a main class that takes a composite URL and some other arguments and which deploys it using the domain manager, as explained on this tutorial [2]. The contents of this main class would be very similar to the code which is in the SVN of Tuscany.

And since on a long term sight, we (in SCA Tools) think it would be nice if Tuscany had a committer in SCA Tools to maintain Tuscany specific support, this second launcher might be the occasion of an initial contribution in this sense.

Regards,

                Vincent.



[0]: http://wiki.eclipse.org/STP/SCA_Component/SCA_Java_Run_and_Debug_Tuscany#Appendix:_the_main_method_for_Tuscany
[1]: http://download.eclipse.org/stp/sca/last/
[2]: http://www.ibm.com/developerworks/webservices/library/ws-sca-tuscany/index.html

--
Vincent Zurczak
EBM WebSourcing
+33 (0) 4 38 12 16 77

Reply via email to