You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by rf...@apache.org on 2007/02/14 23:47:32 UTC

svn commit: r507732 - in /incubator/tuscany/branches/sca-java-integration/samples/sca/echo.databinding/src: main/resources/META-INF/sca/echo.system.scdl main/resources/META-INF/sca/extension.composite test/java/echo/DataBindingIntegrationTestCase.java

Author: rfeng
Date: Wed Feb 14 14:47:31 2007
New Revision: 507732

URL: http://svn.apache.org/viewvc?view=rev&rev=507732
Log:
[sca-integration-branch] Clean up the echo.databinding sample

Added:
    incubator/tuscany/branches/sca-java-integration/samples/sca/echo.databinding/src/main/resources/META-INF/sca/extension.composite
      - copied, changed from r507663, incubator/tuscany/branches/sca-java-integration/samples/sca/echo.databinding/src/main/resources/META-INF/sca/echo.system.scdl
Removed:
    incubator/tuscany/branches/sca-java-integration/samples/sca/echo.databinding/src/main/resources/META-INF/sca/echo.system.scdl
Modified:
    incubator/tuscany/branches/sca-java-integration/samples/sca/echo.databinding/src/test/java/echo/DataBindingIntegrationTestCase.java

Copied: incubator/tuscany/branches/sca-java-integration/samples/sca/echo.databinding/src/main/resources/META-INF/sca/extension.composite (from r507663, incubator/tuscany/branches/sca-java-integration/samples/sca/echo.databinding/src/main/resources/META-INF/sca/echo.system.scdl)
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/samples/sca/echo.databinding/src/main/resources/META-INF/sca/extension.composite?view=diff&rev=507732&p1=incubator/tuscany/branches/sca-java-integration/samples/sca/echo.databinding/src/main/resources/META-INF/sca/echo.system.scdl&r1=507663&p2=incubator/tuscany/branches/sca-java-integration/samples/sca/echo.databinding/src/main/resources/META-INF/sca/extension.composite&r2=507732
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/samples/sca/echo.databinding/src/main/resources/META-INF/sca/echo.system.scdl (original)
+++ incubator/tuscany/branches/sca-java-integration/samples/sca/echo.databinding/src/main/resources/META-INF/sca/extension.composite Wed Feb 14 14:47:31 2007
@@ -1,36 +1,31 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- * 
- *   http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.    
+    * Licensed to the Apache Software Foundation (ASF) under one
+    * or more contributor license agreements.  See the NOTICE file
+    * distributed with this work for additional information
+    * regarding copyright ownership.  The ASF licenses this file
+    * to you under the Apache License, Version 2.0 (the
+    * "License"); you may not use this file except in compliance
+    * with the License.  You may obtain a copy of the License at
+    * 
+    *   http://www.apache.org/licenses/LICENSE-2.0
+    * 
+    * Unless required by applicable law or agreed to in writing,
+    * software distributed under the License is distributed on an
+    * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    * KIND, either express or implied.  See the License for the
+    * specific language governing permissions and limitations
+    * under the License.    
 -->
-<!--
-    JavaScript configuration for the launcher environment.
--->
-<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
-           xmlns:system="http://tuscany.apache.org/xmlns/system/1.0-SNAPSHOT"
-
-           name="org.apache.tuscany.launcher.JavaScriptImplementation">
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" xmlns:system="http://tuscany.apache.org/xmlns/system/1.0-SNAPSHOT"
+    name="binding.echo">
 
     <component name="BindingLoader">
-        <system:implementation.system class="echo.EchoBindingLoader"/>
+        <system:implementation.system class="echo.EchoBindingLoader" />
     </component>
 
     <component name="BindingBuilder">
-        <system:implementation.system class="echo.EchoBuilder"/>
+        <system:implementation.system class="echo.EchoBuilder" />
     </component>
 
 </composite>

Modified: incubator/tuscany/branches/sca-java-integration/samples/sca/echo.databinding/src/test/java/echo/DataBindingIntegrationTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/samples/sca/echo.databinding/src/test/java/echo/DataBindingIntegrationTestCase.java?view=diff&rev=507732&r1=507731&r2=507732
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/samples/sca/echo.databinding/src/test/java/echo/DataBindingIntegrationTestCase.java (original)
+++ incubator/tuscany/branches/sca-java-integration/samples/sca/echo.databinding/src/test/java/echo/DataBindingIntegrationTestCase.java Wed Feb 14 14:47:31 2007
@@ -37,8 +37,8 @@
 
     protected void setUp() throws Exception {
         setApplicationSCDL(getClass(), "META-INF/sca/default.scdl");
-        addExtension("echo.binding", getClass().getClassLoader().getResource("META-INF/sca/echo.system.scdl"));
-        addExtension("test.extensions", getClass().getClassLoader().getResource("META-INF/tuscany/test-extensions.scdl"));
+        // addExtension("echo.binding", getClass().getClassLoader().getResource("META-INF/sca/echo.system.scdl"));
+        // addExtension("test.extensions", getClass().getClassLoader().getResource("META-INF/tuscany/test-extensions.scdl"));
         super.setUp();
         CompositeContext context = CurrentCompositeContext.getContext();
         componentA = context.locateService(Interface1.class, "ComponentA");



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