Return-Path: Delivered-To: apmail-ws-general-archive@www.apache.org Received: (qmail 9873 invoked from network); 15 Aug 2006 16:09:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Aug 2006 16:09:48 -0000 Received: (qmail 34782 invoked by uid 500); 15 Aug 2006 16:09:39 -0000 Delivered-To: apmail-ws-general-archive@ws.apache.org Received: (qmail 34359 invoked by uid 500); 15 Aug 2006 16:09:38 -0000 Mailing-List: contact general-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: general@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list general@ws.apache.org Received: (qmail 34293 invoked by uid 99); 15 Aug 2006 16:09:37 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Aug 2006 09:09:37 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Aug 2006 09:09:37 -0700 Received: from ajax.apache.org (localhost [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 3517ED495F for ; Tue, 15 Aug 2006 17:09:16 +0100 (BST) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: general@ws.apache.org Date: Tue, 15 Aug 2006 16:09:16 -0000 Message-ID: <20060815160916.15081.26060@ajax.apache.org> Subject: [Ws Wiki] Update of "Tuscany/TuscanyJava/SCA Java Overview" by Venkatakrishnan X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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 \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 ===== - <> + * 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: general-unsubscribe@ws.apache.org For additional commands, e-mail: general-help@ws.apache.org