You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by an...@apache.org on 2006/10/26 12:32:35 UTC

svn commit: r467950 - /incubator/tuscany/java/samples/sca/helloworldJavaScript/src/test/java/helloworld/HelloWorldRunner.java

Author: antelder
Date: Thu Oct 26 03:32:34 2006
New Revision: 467950

URL: http://svn.apache.org/viewvc?view=rev&rev=467950
Log:
Fix the javascript sample to find the scdl

Modified:
    incubator/tuscany/java/samples/sca/helloworldJavaScript/src/test/java/helloworld/HelloWorldRunner.java

Modified: incubator/tuscany/java/samples/sca/helloworldJavaScript/src/test/java/helloworld/HelloWorldRunner.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/samples/sca/helloworldJavaScript/src/test/java/helloworld/HelloWorldRunner.java?view=diff&rev=467950&r1=467949&r2=467950
==============================================================================
--- incubator/tuscany/java/samples/sca/helloworldJavaScript/src/test/java/helloworld/HelloWorldRunner.java (original)
+++ incubator/tuscany/java/samples/sca/helloworldJavaScript/src/test/java/helloworld/HelloWorldRunner.java Thu Oct 26 03:32:34 2006
@@ -34,6 +34,7 @@
     protected void setUp() throws Exception {
         URL scdl = getClass().getClassLoader().getResource("META-INF/sca/js.system.scdl");
         addExtension("JavaScriptContainer", scdl);
+        setApplicationSCDL(HelloWorldService.class, "META-INF/sca/default.scdl");
         super.setUp();
 
         CompositeContext context = CurrentCompositeContext.getContext();



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org