Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Java-SCA-1.3.2
-
None
Description
From a private note from Howard Operowsky
I built the store example, but it doesn't work quite right. I pasted one problem at the end of the note. I selected all 3 items, 1 at a time, but the cart doesn't show the apple even though the total is correct. Other problems I've seen is that I'll select some items, they appear in the cart, but the total doesn't show, or I pick one and all three are added to my cart. I built my version using Tuscany 1.3.2, IBM's JRE 6.0 and Eclipse Classic 3.4.1.
Also, there are several differences between with the "Getting Started with Eclipse" article and the Tuscany 1.3.2 sample code that made building the example very, very painful, beside the incorrect code for ShoppingCartImpl.java that we talked about:. The article needs to be updated.
Article creates "ufservices" package, 1.3.2 uses uiservices
Article creates CatalogImpl.java, 1.3.2 comes with FruitsCatalogImpl.java
Article says nothing about creating Cart.java, Item.java, and Total.java which are required in the 1.3.2 version
Article says nothing about creating the Launch package and class, but references it at the end.