[OFBiz] Users - 7266: Compile Errors in Order

Si Chen sichen at opensourcestrategies.com
Mon Apr 10 17:51:34 CDT 2006


Did you update your order/build.xml?  I added accounting/build/ to the 
classpath

Si

Vinay Agarwal wrote:
>
> 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:* users-bounces at lists.ofbiz.org 
> [mailto:users-bounces at lists.ofbiz.org] *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
> Users at lists.ofbiz.org <mailto:Users at lists.ofbiz.org>
> http://lists.ofbizorg/mailman/listinfo/users <http://lists.ofbiz.org/mailman/listinfo/users>
> ------------------------------------------------------------------------
>
>  
> _______________________________________________
> Users mailing list
> Users at lists.ofbiz.org
> http://lists.ofbiz.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ofbiz.org/pipermail/users/attachments/20060410/3e32b631/attachment-0001.htm


More information about the Users mailing list