Dear Wiki user, You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification.
The following page has been changed by Venkatakrishnan: http://wiki.apache.org/ws/Tuscany/TuscanyJava/SCA_Java_Overview ------------------------------------------------------------------------------ helloWorldService = context.locateService(HelloWorldService.class, "HelloWorldComponent"); System.out.println(helloWorldService.sayHello("Friend"));'' + ==== Running Samples from within IDE ==== + Download the source code from https://svn.apache.org/repos/asf/incubator/tuscany/java and build the distribution. This will create <Tuscany Codebase>\distribution\sca\standalone\target with two files standalone-1.0-SNAPSHOT-bin.tar.gz and standalone-1.0-SNAPSHOT-bin.zip. + + Unpack say standalone-1.0-SNAPSHOT-bin.zip, if you are working on windows, to some location on your machine for example c:\Tuscany_Standalone. + - ==== Running Samples from within Eclipse ==== + ===== Running Samples from within IDEA & Eclipse ===== - <<need to fill info about download distribution, extracting etc. so that the following sections make sense>> + * Create a junit configuration for e.g. CalculatorTestCase + * Edit that configuration to set the system property "-Dtuscany.installDir=c:\Tuscany_Standalone" + * Run or Debug that configuration ===== Remote Debugging ===== $ java -Xdebug -Xnoagent -Djava.compiler=NONE - Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005 -jar bin/launcher.jar --classpath ~/.m2/repository/org/apache/tuscany/samples/ sca/sample-localwire/1.0-SNAPSHOT/sample-localwire-1.0-SNAPSHOT.jar --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
