You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by js...@apache.org on 2008/01/08 18:44:00 UTC

svn commit: r610078 - in /incubator/tuscany/java/sca/tutorial/store: META-INF/sca-contribution.xml launch/LaunchStore.java uiservices/store.html

Author: jsdelfino
Date: Tue Jan  8 09:43:53 2008
New Revision: 610078

URL: http://svn.apache.org/viewvc?rev=610078&view=rev
Log:
Minor cleanup. Removed unused import in sca-contribution.xml. Fixed contribution URI.

Modified:
    incubator/tuscany/java/sca/tutorial/store/META-INF/sca-contribution.xml
    incubator/tuscany/java/sca/tutorial/store/launch/LaunchStore.java
    incubator/tuscany/java/sca/tutorial/store/uiservices/store.html

Modified: incubator/tuscany/java/sca/tutorial/store/META-INF/sca-contribution.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/store/META-INF/sca-contribution.xml?rev=610078&r1=610077&r2=610078&view=diff
==============================================================================
--- incubator/tuscany/java/sca/tutorial/store/META-INF/sca-contribution.xml (original)
+++ incubator/tuscany/java/sca/tutorial/store/META-INF/sca-contribution.xml Tue Jan  8 09:43:53 2008
@@ -22,5 +22,4 @@
               xmlns:s="http://store">
    <deployable composite="s:store"/>
    <import.java package="services"/>
-   <import.java package="services.merger"/>
 </contribution>

Modified: incubator/tuscany/java/sca/tutorial/store/launch/LaunchStore.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/store/launch/LaunchStore.java?rev=610078&r1=610077&r2=610078&view=diff
==============================================================================
--- incubator/tuscany/java/sca/tutorial/store/launch/LaunchStore.java (original)
+++ incubator/tuscany/java/sca/tutorial/store/launch/LaunchStore.java Tue Jan  8 09:43:53 2008
@@ -39,8 +39,7 @@
         URL derbyContribution = new File(System.getProperty("user.home") + "/.m2/repository/org/apache/derby/derby/10.1.2.1/derby-10.1.2.1.jar").toURL();
         URL dataAPIContribution = new File(System.getProperty("user.home") + "/.m2/repository/org/apache/tuscany/sca/tuscany-implementation-data-api/1.2-incubating-SNAPSHOT/tuscany-implementation-data-api-1.2-incubating-SNAPSHOT.jar").toURL();
         
-        node.addContribution("http://org/apache/derby", derbyContribution);
-        node.addContribution("http://org/apache/tuscany/implementation-data-api", dataAPIContribution);
+        node.addContribution("http://org/apache/tuscany/sca/implementation-data-api", dataAPIContribution);
         node.addContribution("http://assets", assetsContribution);
         node.addContribution("http://store", storeContribution);
         

Modified: incubator/tuscany/java/sca/tutorial/store/uiservices/store.html
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/store/uiservices/store.html?rev=610078&r1=610077&r2=610078&view=diff
==============================================================================
--- incubator/tuscany/java/sca/tutorial/store/uiservices/store.html (original)
+++ incubator/tuscany/java/sca/tutorial/store/uiservices/store.html Tue Jan  8 09:43:53 2008
@@ -79,7 +79,7 @@
 			if (items[i].checked) {
 				var entry = '<entry xmlns="http://www.w3.org/2005/Atom"><title>item</title><content type="text/xml">' +
                 	'<Item xmlns="http://services/">' +
-                	'<name>' + catalogItems[i].name + '</name>' + '<price>' + catalogItems[i].price + '</price>' +
+                	'<name xmlns="">' + catalogItems[i].name + '</name>' + '<price xmlns="">' + catalogItems[i].price + '</price>' +
                  	'</Item>' + '</content></entry>';
 				shoppingCart.post(entry, shoppingCart_postResponse);
 				items[i].checked = false;



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