[OFBiz] Users - 7266: Compile Errors in Order

Vinay Agarwal VinayKAgarwal at hotmail.com
Mon Apr 10 18:12:20 CDT 2006


I can see that the build.xml has a line added 

            <fileset dir="../accounting/build/lib" includes="*.jar"/>

But it fails compile.

 

-----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:52 PM
To: OFBiz Users / Usage Discussion
Subject: Re: [OFBiz] Users - 7266: Compile Errors in Order

 

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\ShoppingCartjav
a: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\ShoppingCartjav
a: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\ShoppingCartjav
a: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\ShoppingCartjav
a: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\ShoppingCartjav
a: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\ShoppingCartjav
a: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\ShoppingCartjav
a: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
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/d0721b4f/attachment.htm


More information about the Users mailing list