Java 1856, 1864, and 1868 are errors and stops build. I had to back svn to a prior version to be able to build it.
-----Original Message-----
From: [hidden email] [[hidden email]] On Behalf Of Si Chen
Sent: Monday, April 10, 2006 3:45 PM
To: OFBiz Users / Usage Discussion
Subject: Re: [OFBiz] Users - 7266: Compile Errors in Order
Those are warnings, not errors. We need to convert some methods to BigDecimal. (Want to help? :-) )
Si
Vinay Agarwal wrote:[javac] Compiling 2 source files to C:\ofbiz\applications\order\build\classes
[javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:313: warning: calcOrderAdjustment(org.ofbiz.entity.GenericValue,double) in org.ofbiz.order.order.OrderReadHelper has been deprecated
[javac] taxTotal += OrderReadHelper.calcOrderAdjustment(v, cart.getSubTotal());
[javac] ^
[javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:335: warning: calcItemAdjustment(org.ofbiz.entity.GenericValue,java.lang.Double,java.lang.Double) in org.ofbiz.order.order.OrderReadHelper has been deprecated
[javac] itemTax += OrderReadHelper.calcItemAdjustment(v, new Double(quantity), new Double(item.getBasePrice()));
[javac] ^
[javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:1856: cannot resolve symbol
[javac] symbol : variable giftCertFinAccountTypeId
[javac] location: class org.ofbiz.accounting.finaccount.FinAccountHelper
[javac] GenericValue giftCertSettings = delegator.findByPrimaryKeyCache("ProductStoreFinActSetting", UtilMisc.toMap("productStoreId", getProductStoreId(), "finAccountTypeId", FinAccountHelper.giftCertFinAccountTypeId));
[javac] & ;nbs p; ^
[javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:1864: cannot resolve symbol
[javac] symbol : variable defaultPinRequired
[javac] location: class org.ofbiz.accounting.finaccount.FinAccountHelper
[javac] return FinAccountHelper.defaultPinRequired;
[javac] ^
[javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:1868: cannot resolve symbol
[javac] symbol : variable defaultPinRequired
[javac] location: class org.ofbiz.accounting.finaccount.FinAccountHelper
[javac] return FinAccountHelper.defaultPinRequired;
[javac] ^
[javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:1898: warning: calcOrderAdjustments(java.util.List,double,boolean,boolean,boolean) in org.ofbiz.order.order.OrderReadHelper has been deprecated
[javac] return OrderReadHelper.calcOrderAdjustments(this.getAdjustments(), this.getSubTotal(), false, false, true);
[javac] ^
[javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:2365: warning: calcOrderAdjustments(java.util.List,double,boolean,boolean,boolean) in org.ofbiz.order.order.OrderReadHelper has been deprecated
[javac] return OrderReadHelper.calcOrderAdjustments(this.getAdjustments(), getSubTotal(), true, false, false);
[javac] ^
[javac] 3 errors
[javac] 4 warnings
_______________________________________________Users mailing list[hidden email]http://lists.ofbizorg/mailman/listinfo/users
_______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users
| Free forum by Nabble | Edit this page |