js.jar compilation problem

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

js.jar compilation problem

Jacques Le Roux
Administrator
I just made a fresh check out. Making an "ant run install" I had this already known problem :

classes:
    [javac] Compiling 40 source files to D:\ofbiz avant ASL\applications\product\build\classes
    [javac] D:\ofbiz avant ASL\applications\product\src\ShipmentScaleApplet.java:42: package netscape.javascript does not exist
    [javac] import netscape.javascript.JSObject;
    [javac]                            ^
    [javac] D:\ofbiz avant ASL\applications\product\src\ShipmentScaleApplet.java:215: cannot resolve symbol
    [javac] symbol  : class JSObject
    [javac] location: class ShipmentScaleApplet
    [javac]         JSObject win = JSObject.getWindow(this);
    [javac]         ^
    [javac] D:\ofbiz avant ASL\applications\product\src\ShipmentScaleApplet.java:215: cannot resolve symbol
    [javac] symbol  : variable JSObject
    [javac] location: class ShipmentScaleApplet
    [javac]         JSObject win = JSObject.getWindow(this);
    [javac]                        ^
    [javac] 3 errors

BUILD FAILED
D:\ofbiz avant ASL\build.xml:107: The following error occurred while executing this line:
D:\ofbiz avant ASL\applications\build.xml:85: The following error occurred while executing this line:
D:\ofbiz avant ASL\applications\product\build.xml:105: Compile failed; see the compiler error output for details.

So I put the js.jar lib in /framework/base/lib (indeed \framework\base\lib it's on Win)

But I can't get rid of this problem

I also tried (silly because /product/build.xml seems right, but why not to see) to put the js.jar in root, then I made a copy of /framework/base in /base nope.

To run I renames the ShipmentScaleApplet.java to ShipmentScaleApplet.java.buid.pb, then I can compile

Anybody an idea ?

Jacques

--------------------------------------------------------------------------------

PS : BTW I found also these lines :

prepare:
    [mkdir] Created dir: D:\ofbiz avant ASL\applications\order\build\classes
    [mkdir] Created dir: D:\ofbiz avant ASL\applications\order\build\lib

classpath:

classes:
    [javac] Compiling 30 source files to D:\ofbiz avant ASL\applications\order\build\classes
    [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\order\OrderReturnServices.java:90: warning: getOrderReturnedTotal(boolean) in org.ofbiz.order.order.OrderReadHelper has been deprecated
    [javac]         double returnTotal = orh.getOrderReturnedTotal(true);
    [javac]                                 ^
    [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\order\OrderReturnServices.java:91: warning: getOrderGrandTotal() in org.ofbiz.order.order.OrderReadHelper has been deprecated
    [javac]         double orderTotal = orh.getOrderGrandTotal();
    [javac]                                ^
    [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\order\OrderReturnServices.java:1315: warning: getOrderGrandTotal() in org.ofbiz.order.order.OrderReadHelper has been deprecated
    [javac]                 double grandTotal = helper.getOrderGrandTotal();
    [javac]                                           ^
    [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1125: warning: getOrderGrandTotal() in org.ofbiz.order.order.OrderReadHelper has been deprecated
    [javac]             double updatedTotal = orh.getOrderGrandTotal();
    [javac]                                      ^
    [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1128: warning: getOrderReturnedTotal() in org.ofbiz.order.order.OrderReadHelper has been deprecated
    [javac]             double remainingSubTotal = updatedTotal - orh.getOrderReturnedTotal() - orh.getOrderNonReturnedTaxAndShipping();
    [javac]                                                          ^
    [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1128: warning: getOrderNonReturnedTaxAndShipping() in org.ofbiz.order.order.OrderReadHelper has been deprecated
    [javac]             double remainingSubTotal = updatedTotal - orh.getOrderReturnedTotal() - orh.getOrderNonReturnedTaxAndShipping();
    [javac]                                                                                        ^
    [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1273: warning: getOrderItemsSubTotal(java.util.List,java.util.List) in org.ofbiz.order.order.OrderReadHelper has
been deprecated
    [javac]                     double orderSubTotal = OrderReadHelper.getOrderItemsSubTotal(validOrderItems, allAdjustments);
    [javac]                                                           ^
    [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1276: warning: calcOrderAdjustments(java.util.List,double,boolean,boolean,boolean) in org.ofbiz.order.order.Order
ReadHelper has been deprecated
    [javac]                     BigDecimal orderShipping = new BigDecimal(OrderReadHelper.calcOrderAdjustments(orderHeaderAdjustments, orderSubTotal, false, false, true));
    [javac]                                                                              ^
    [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1284: warning: getOrderItemSubTotal(org.ofbiz.entity.GenericValue,java.util.List,boolean,boolean) in org.ofbiz.or
der.order.OrderReadHelper has been deprecated
    [javac]                             amounts.add(i, new BigDecimal(OrderReadHelper.getOrderItemSubTotal(orderItem, allAdjustments, true, false))); // get the item amount
    [javac]                                                                          ^
    [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1285: warning: getOrderItemAdjustmentsTotal(org.ofbiz.entity.GenericValue,java.util.List,boolean,boolean,boolean)
 in org.ofbiz.order.order.OrderReadHelper has been deprecated
    [javac]                             shipAmts.add(i, new BigDecimal(OrderReadHelper.getOrderItemAdjustmentsTotal(orderItem, allAdjustments, false, false, true))); // get the shipping amount
    [javac]                                                                           ^
    [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1444: warning: getAllOrderItemsAdjustmentsTotal(java.util.List,java.util.List,boolean,boolean,boolean) in org.ofb
iz.order.order.OrderReadHelper has been deprecated
    [javac]                 double currentShipping = OrderReadHelper.getAllOrderItemsAdjustmentsTotal(orh.getOrderItemAndShipGroupAssoc(shipGroupSeqId), orh.getAdjustments(), false, false, true);
    [javac]                                                         ^
    [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1445: warning: getOrderItemsSubTotal() in org.ofbiz.order.order.OrderReadHelper has been deprecated
    [javac]                 currentShipping += OrderReadHelper.calcOrderAdjustments(orh.getOrderHeaderAdjustments(shipGroupSeqId), orh.getOrderItemsSubTotal(), false, false, true);
    [javac]                                                                                                                           ^
    [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1445: warning: calcOrderAdjustments(java.util.List,double,boolean,boolean,boolean) in org.ofbiz.order.order.Order
ReadHelper has been deprecated
    [javac]                 currentShipping += OrderReadHelper.calcOrderAdjustments(orh.getOrderHeaderAdjustments(shipGroupSeqId), orh.getOrderItemsSubTotal(), false, false, true);
    [javac]                                                   ^
    [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:2311: warning: getOrderItemsSubTotal() in org.ofbiz.order.order.OrderReadHelper has been deprecated
    [javac]             double orderSubTotal = orh.getOrderItemsSubTotal();
    [javac]                                       ^
    [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:2313: warning: getAllOrderItemsAdjustmentsTotal(java.util.List,java.util.List,boolean,boolean,boolean) in org.ofb
iz.order.order.OrderReadHelper has been deprecated
    [javac]             double shippingAmount = OrderReadHelper.getAllOrderItemsAdjustmentsTotal(orderItems, orderAdjustments, false, false, true);
    [javac]                                                    ^
    [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:2314: warning: calcOrderAdjustments(java.util.List,double,boolean,boolean,boolean) in org.ofbiz.order.order.Order
ReadHelper has been deprecated
    [javac]             shippingAmount += OrderReadHelper.calcOrderAdjustments(orderHeaderAdjustments, orderSubTotal, false, false, true);
    [javac]                                              ^
    [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCart.java:1748: 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] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCart.java:2235: 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] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCart.java:3670: warning: calcOrderAdjustment(org.ofbiz.entity.GenericValue,double) in org.ofbiz.order.order.OrderRead
Helper has been deprecated
    [javac]                 taxTotal += OrderReadHelper.calcOrderAdjustment(v, cart.getSubTotal());
    [javac]                                            ^
    [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCart.java:3692: warning: calcItemAdjustment(org.ofbiz.entity.GenericValue,java.lang.Double,java.lang.Double) in org.o
fbiz.order.order.OrderReadHelper has been deprecated
    [javac]                     itemTax += OrderReadHelper.calcItemAdjustment(v, new Double(quantity), new Double(item.getBasePrice()));
    [javac]                                               ^
    [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartItem.java:1569: warning: calcItemAdjustments(java.lang.Double,java.lang.Double,java.util.List,boolean,boolean,boo
lean,boolean,boolean) in org.ofbiz.order.order.OrderReadHelper has been deprecated
    [javac]         return OrderReadHelper.calcItemAdjustments(new Double(quantity), new Double(getBasePrice()), this.getAdjustments(), true, false, false, false, false);
    [javac]                               ^
    [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\shoppingcart\shipping\ShippingEvents.java:118: warning: getShippableWeight(java.lang.String) in org.ofbiz.order.order.OrderReadHelper has
been deprecated
    [javac]                 contactMechId, orh.getProductStoreId(), orh.getShippableItemInfo(shipGroupSeqId), orh.getShippableWeight(shipGroupSeqId),
    [javac]                                                                                                      ^
    [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\shoppingcart\shipping\ShippingEvents.java:119: warning: getShippableQuantity(java.lang.String) in org.ofbiz.order.order.OrderReadHelper ha
s been deprecated
    [javac]                 orh.getShippableQuantity(shipGroupSeqId), orh.getShippableTotal(shipGroupSeqId));
    [javac]                    ^
    [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\shoppingcart\shipping\ShippingEvents.java:119: warning: getShippableTotal(java.lang.String) in org.ofbiz.order.order.OrderReadHelper has b
een deprecated
    [javac]                 orh.getShippableQuantity(shipGroupSeqId), orh.getShippableTotal(shipGroupSeqId));
    [javac]                                                              ^
    [javac] 24 warnings

jar:
      [jar] Building jar: D:\ofbiz avant ASL\applications\order\build\lib\ofbiz-order.jar


HTH
Reply | Threaded
Open this post in threaded view
|

Re: js.jar compilation problem [OT]

cjhowe
since when can OFBiz run with spaces in the path
("ofbiz avant ASL")?

--- Jacques Le Roux <[hidden email]>
wrote:

> I just made a fresh check out. Making an "ant run
> install" I had this already known problem :
>
> classes:
>     [javac] Compiling 40 source files to D:\ofbiz
> avant ASL\applications\product\build\classes
>     [javac] D:\ofbiz avant
>
ASL\applications\product\src\ShipmentScaleApplet.java:42:
> package netscape.javascript does not exist
>     [javac] import netscape.javascript.JSObject;
>     [javac]                            ^
>     [javac] D:\ofbiz avant
>
ASL\applications\product\src\ShipmentScaleApplet.java:215:
> cannot resolve symbol
>     [javac] symbol  : class JSObject
>     [javac] location: class ShipmentScaleApplet
>     [javac]         JSObject win =
> JSObject.getWindow(this);
>     [javac]         ^
>     [javac] D:\ofbiz avant
>
ASL\applications\product\src\ShipmentScaleApplet.java:215:

> cannot resolve symbol
>     [javac] symbol  : variable JSObject
>     [javac] location: class ShipmentScaleApplet
>     [javac]         JSObject win =
> JSObject.getWindow(this);
>     [javac]                        ^
>     [javac] 3 errors
>
> BUILD FAILED
> D:\ofbiz avant ASL\build.xml:107: The following
> error occurred while executing this line:
> D:\ofbiz avant ASL\applications\build.xml:85: The
> following error occurred while executing this line:
> D:\ofbiz avant
> ASL\applications\product\build.xml:105: Compile
> failed; see the compiler error output for details.
>
> So I put the js.jar lib in /framework/base/lib
> (indeed \framework\base\lib it's on Win)
>
> But I can't get rid of this problem
>
> I also tried (silly because /product/build.xml seems
> right, but why not to see) to put the js.jar in
> root, then I made a copy of /framework/base in /base
> nope.
>
> To run I renames the ShipmentScaleApplet.java to
> ShipmentScaleApplet.java.buid.pb, then I can compile
>
> Anybody an idea ?
>
> Jacques
>
>
--------------------------------------------------------------------------------

>
> PS : BTW I found also these lines :
>
> prepare:
>     [mkdir] Created dir: D:\ofbiz avant
> ASL\applications\order\build\classes
>     [mkdir] Created dir: D:\ofbiz avant
> ASL\applications\order\build\lib
>
> classpath:
>
> classes:
>     [javac] Compiling 30 source files to D:\ofbiz
> avant ASL\applications\order\build\classes
>     [javac] D:\ofbiz avant
>
ASL\applications\order\src\org\ofbiz\order\order\OrderReturnServices.java:90:
> warning: getOrderReturnedTotal(boolean) in
> org.ofbiz.order.order.OrderReadHelper has been
> deprecated
>     [javac]         double returnTotal =
> orh.getOrderReturnedTotal(true);
>     [javac]                                 ^
>     [javac] D:\ofbiz avant
>
ASL\applications\order\src\org\ofbiz\order\order\OrderReturnServices.java:91:
> warning: getOrderGrandTotal() in
> org.ofbiz.order.order.OrderReadHelper has been
> deprecated
>     [javac]         double orderTotal =
> orh.getOrderGrandTotal();
>     [javac]                                ^
>     [javac] D:\ofbiz avant
>
ASL\applications\order\src\org\ofbiz\order\order\OrderReturnServices.java:1315:
> warning: getOrderGrandTotal() in
> org.ofbiz.order.order.OrderReadHelper has been
> deprecated
>     [javac]                 double grandTotal =
> helper.getOrderGrandTotal();
>     [javac]                                        
>  ^
>     [javac] D:\ofbiz avant
>
ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1125:
> warning: getOrderGrandTotal() in
> org.ofbiz.order.order.OrderReadHelper has been
> deprecated
>     [javac]             double updatedTotal =
> orh.getOrderGrandTotal();
>     [javac]                                      ^
>     [javac] D:\ofbiz avant
>
ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1128:

> warning: getOrderReturnedTotal() in
> org.ofbiz.order.order.OrderReadHelper has been
> deprecated
>     [javac]             double remainingSubTotal =
> updatedTotal - orh.getOrderReturnedTotal() -
> orh.getOrderNonReturnedTaxAndShipping();
>     [javac]                                        
>                 ^
>     [javac] D:\ofbiz avant
>
ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1128:

> warning: getOrderNonReturnedTaxAndShipping() in
> org.ofbiz.order.order.OrderReadHelper has been
> deprecated
>     [javac]             double remainingSubTotal =
> updatedTotal - orh.getOrderReturnedTotal() -
> orh.getOrderNonReturnedTaxAndShipping();
>     [javac]                                        
>                                               ^
>     [javac] D:\ofbiz avant
>
ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1273:
> warning:
> getOrderItemsSubTotal(java.util.List,java.util.List)
> in org.ofbiz.order.order.OrderReadHelper has
> been deprecated
>     [javac]                     double orderSubTotal
> =
>
OrderReadHelper.getOrderItemsSubTotal(validOrderItems,
> allAdjustments);
>     [javac]                                        
>                  ^
>     [javac] D:\ofbiz avant
>
ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1276:
> warning:
>
calcOrderAdjustments(java.util.List,double,boolean,boolean,boolean)
> in org.ofbiz.order.order.Order
> ReadHelper has been deprecated
>     [javac]                     BigDecimal
> orderShipping = new
>
BigDecimal(OrderReadHelper.calcOrderAdjustments(orderHeaderAdjustments,
> orderSubTotal, false, false, true));
>     [javac]                                        
>                                     ^
>     [javac] D:\ofbiz avant
>
ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1284:
> warning:
>
getOrderItemSubTotal(org.ofbiz.entity.GenericValue,java.util.List,boolean,boolean)
> in org.ofbiz.or
> der.order.OrderReadHelper has been deprecated
>     [javac]                            
> amounts.add(i, new
>
BigDecimal(OrderReadHelper.getOrderItemSubTotal(orderItem,
> allAdjustments, true, false))); // get the item
> amount
>     [javac]                                        
>                                 ^
>     [javac] D:\ofbiz avant
>
ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1285:
> warning:
>
getOrderItemAdjustmentsTotal(org.ofbiz.entity.GenericValue,java.util.List,boolean,boolean,boolean)
>  in org.ofbiz.order.order.OrderReadHelper has been
> deprecated
>     [javac]                            
> shipAmts.add(i, new
>
BigDecimal(OrderReadHelper.getOrderItemAdjustmentsTotal(orderItem,
> allAdjustments, false, false, true))); // get the
> shipping amount
>     [javac]                                        
>                                  ^
>     [javac] D:\ofbiz avant
>
ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1444:
> warning:
>
getAllOrderItemsAdjustmentsTotal(java.util.List,java.util.List,boolean,boolean,boolean)
> in org.ofb
> iz.order.order.OrderReadHelper has been deprecated
>     [javac]                 double currentShipping =
>
OrderReadHelper.getAllOrderItemsAdjustmentsTotal(orh.getOrderItemAndShipGroupAssoc(shipGroupSeqId),
> orh.getAdjustments(), false, false, true);
>     [javac]                                        
>                ^
>     [javac] D:\ofbiz avant
>
ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1445:
> warning: getOrderItemsSubTotal() in
> org.ofbiz.order.order.OrderReadHelper has been
> deprecated
>     [javac]                 currentShipping +=
>
OrderReadHelper.calcOrderAdjustments(orh.getOrderHeaderAdjustments(shipGroupSeqId),
> orh.getOrderItemsSubTotal(), false, false, true);
>     [javac]                                        
>                                                    
>                             ^
>     [javac] D:\ofbiz avant
>
ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1445:
> warning:
>
calcOrderAdjustments(java.util.List,double,boolean,boolean,boolean)
> in org.ofbiz.order.order.Order
> ReadHelper has been deprecated
>
=== message truncated ===

Reply | Threaded
Open this post in threaded view
|

Re: js.jar compilation problem [OT]

Andrew Sykes
As far as I know, it has always been possible, although RMI falls over.

Though, being a linux user, it's a long time since I tried.

- Andrew

On Sat, 2006-07-01 at 07:32 -0700, Chris Howe wrote:

> since when can OFBiz run with spaces in the path
> ("ofbiz avant ASL")?
>
> --- Jacques Le Roux <[hidden email]>
> wrote:
>
> > I just made a fresh check out. Making an "ant run
> > install" I had this already known problem :
> >
> > classes:
> >     [javac] Compiling 40 source files to D:\ofbiz
> > avant ASL\applications\product\build\classes
> >     [javac] D:\ofbiz avant
> >
> ASL\applications\product\src\ShipmentScaleApplet.java:42:
> > package netscape.javascript does not exist
> >     [javac] import netscape.javascript.JSObject;
> >     [javac]                            ^
> >     [javac] D:\ofbiz avant
> >
> ASL\applications\product\src\ShipmentScaleApplet.java:215:
> > cannot resolve symbol
> >     [javac] symbol  : class JSObject
> >     [javac] location: class ShipmentScaleApplet
> >     [javac]         JSObject win =
> > JSObject.getWindow(this);
> >     [javac]         ^
> >     [javac] D:\ofbiz avant
> >
> ASL\applications\product\src\ShipmentScaleApplet.java:215:
> > cannot resolve symbol
> >     [javac] symbol  : variable JSObject
> >     [javac] location: class ShipmentScaleApplet
> >     [javac]         JSObject win =
> > JSObject.getWindow(this);
> >     [javac]                        ^
> >     [javac] 3 errors
> >
> > BUILD FAILED
> > D:\ofbiz avant ASL\build.xml:107: The following
> > error occurred while executing this line:
> > D:\ofbiz avant ASL\applications\build.xml:85: The
> > following error occurred while executing this line:
> > D:\ofbiz avant
> > ASL\applications\product\build.xml:105: Compile
> > failed; see the compiler error output for details.
> >
> > So I put the js.jar lib in /framework/base/lib
> > (indeed \framework\base\lib it's on Win)
> >
> > But I can't get rid of this problem
> >
> > I also tried (silly because /product/build.xml seems
> > right, but why not to see) to put the js.jar in
> > root, then I made a copy of /framework/base in /base
> > nope.
> >
> > To run I renames the ShipmentScaleApplet.java to
> > ShipmentScaleApplet.java.buid.pb, then I can compile
> >
> > Anybody an idea ?
> >
> > Jacques
> >
> >
> --------------------------------------------------------------------------------
> >
> > PS : BTW I found also these lines :
> >
> > prepare:
> >     [mkdir] Created dir: D:\ofbiz avant
> > ASL\applications\order\build\classes
> >     [mkdir] Created dir: D:\ofbiz avant
> > ASL\applications\order\build\lib
> >
> > classpath:
> >
> > classes:
> >     [javac] Compiling 30 source files to D:\ofbiz
> > avant ASL\applications\order\build\classes
> >     [javac] D:\ofbiz avant
> >
> ASL\applications\order\src\org\ofbiz\order\order\OrderReturnServices.java:90:
> > warning: getOrderReturnedTotal(boolean) in
> > org.ofbiz.order.order.OrderReadHelper has been
> > deprecated
> >     [javac]         double returnTotal =
> > orh.getOrderReturnedTotal(true);
> >     [javac]                                 ^
> >     [javac] D:\ofbiz avant
> >
> ASL\applications\order\src\org\ofbiz\order\order\OrderReturnServices.java:91:
> > warning: getOrderGrandTotal() in
> > org.ofbiz.order.order.OrderReadHelper has been
> > deprecated
> >     [javac]         double orderTotal =
> > orh.getOrderGrandTotal();
> >     [javac]                                ^
> >     [javac] D:\ofbiz avant
> >
> ASL\applications\order\src\org\ofbiz\order\order\OrderReturnServices.java:1315:
> > warning: getOrderGrandTotal() in
> > org.ofbiz.order.order.OrderReadHelper has been
> > deprecated
> >     [javac]                 double grandTotal =
> > helper.getOrderGrandTotal();
> >     [javac]                                        
> >  ^
> >     [javac] D:\ofbiz avant
> >
> ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1125:
> > warning: getOrderGrandTotal() in
> > org.ofbiz.order.order.OrderReadHelper has been
> > deprecated
> >     [javac]             double updatedTotal =
> > orh.getOrderGrandTotal();
> >     [javac]                                      ^
> >     [javac] D:\ofbiz avant
> >
> ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1128:
> > warning: getOrderReturnedTotal() in
> > org.ofbiz.order.order.OrderReadHelper has been
> > deprecated
> >     [javac]             double remainingSubTotal =
> > updatedTotal - orh.getOrderReturnedTotal() -
> > orh.getOrderNonReturnedTaxAndShipping();
> >     [javac]                                        
> >                 ^
> >     [javac] D:\ofbiz avant
> >
> ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1128:
> > warning: getOrderNonReturnedTaxAndShipping() in
> > org.ofbiz.order.order.OrderReadHelper has been
> > deprecated
> >     [javac]             double remainingSubTotal =
> > updatedTotal - orh.getOrderReturnedTotal() -
> > orh.getOrderNonReturnedTaxAndShipping();
> >     [javac]                                        
> >                                               ^
> >     [javac] D:\ofbiz avant
> >
> ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1273:
> > warning:
> > getOrderItemsSubTotal(java.util.List,java.util.List)
> > in org.ofbiz.order.order.OrderReadHelper has
> > been deprecated
> >     [javac]                     double orderSubTotal
> > =
> >
> OrderReadHelper.getOrderItemsSubTotal(validOrderItems,
> > allAdjustments);
> >     [javac]                                        
> >                  ^
> >     [javac] D:\ofbiz avant
> >
> ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1276:
> > warning:
> >
> calcOrderAdjustments(java.util.List,double,boolean,boolean,boolean)
> > in org.ofbiz.order.order.Order
> > ReadHelper has been deprecated
> >     [javac]                     BigDecimal
> > orderShipping = new
> >
> BigDecimal(OrderReadHelper.calcOrderAdjustments(orderHeaderAdjustments,
> > orderSubTotal, false, false, true));
> >     [javac]                                        
> >                                     ^
> >     [javac] D:\ofbiz avant
> >
> ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1284:
> > warning:
> >
> getOrderItemSubTotal(org.ofbiz.entity.GenericValue,java.util.List,boolean,boolean)
> > in org.ofbiz.or
> > der.order.OrderReadHelper has been deprecated
> >     [javac]                            
> > amounts.add(i, new
> >
> BigDecimal(OrderReadHelper.getOrderItemSubTotal(orderItem,
> > allAdjustments, true, false))); // get the item
> > amount
> >     [javac]                                        
> >                                 ^
> >     [javac] D:\ofbiz avant
> >
> ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1285:
> > warning:
> >
> getOrderItemAdjustmentsTotal(org.ofbiz.entity.GenericValue,java.util.List,boolean,boolean,boolean)
> >  in org.ofbiz.order.order.OrderReadHelper has been
> > deprecated
> >     [javac]                            
> > shipAmts.add(i, new
> >
> BigDecimal(OrderReadHelper.getOrderItemAdjustmentsTotal(orderItem,
> > allAdjustments, false, false, true))); // get the
> > shipping amount
> >     [javac]                                        
> >                                  ^
> >     [javac] D:\ofbiz avant
> >
> ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1444:
> > warning:
> >
> getAllOrderItemsAdjustmentsTotal(java.util.List,java.util.List,boolean,boolean,boolean)
> > in org.ofb
> > iz.order.order.OrderReadHelper has been deprecated
> >     [javac]                 double currentShipping =
> >
> OrderReadHelper.getAllOrderItemsAdjustmentsTotal(orh.getOrderItemAndShipGroupAssoc(shipGroupSeqId),
> > orh.getAdjustments(), false, false, true);
> >     [javac]                                        
> >                ^
> >     [javac] D:\ofbiz avant
> >
> ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1445:
> > warning: getOrderItemsSubTotal() in
> > org.ofbiz.order.order.OrderReadHelper has been
> > deprecated
> >     [javac]                 currentShipping +=
> >
> OrderReadHelper.calcOrderAdjustments(orh.getOrderHeaderAdjustments(shipGroupSeqId),
> > orh.getOrderItemsSubTotal(), false, false, true);
> >     [javac]                                        
> >                                                    
> >                             ^
> >     [javac] D:\ofbiz avant
> >
> ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1445:
> > warning:
> >
> calcOrderAdjustments(java.util.List,double,boolean,boolean,boolean)
> > in org.ofbiz.order.order.Order
> > ReadHelper has been deprecated
> >
> === message truncated ===
>
--
Kind Regards
Andrew Sykes <[hidden email]>
Sykes Development Ltd
http://www.sykesdevelopment.com

Reply | Threaded
Open this post in threaded view
|

Re: js.jar compilation problem

Andrew Sykes
In reply to this post by Jacques Le Roux
Jacques,

Could it be your build.xml is still looking for something in /base
rather than /framework/base?

- Andrew

On Sat, 2006-07-01 at 16:26 +0200, Jacques Le Roux wrote:

> I just made a fresh check out. Making an "ant run install" I had this already known problem :
>
> classes:
>     [javac] Compiling 40 source files to D:\ofbiz avant ASL\applications\product\build\classes
>     [javac] D:\ofbiz avant ASL\applications\product\src\ShipmentScaleApplet.java:42: package netscape.javascript does not exist
>     [javac] import netscape.javascript.JSObject;
>     [javac]                            ^
>     [javac] D:\ofbiz avant ASL\applications\product\src\ShipmentScaleApplet.java:215: cannot resolve symbol
>     [javac] symbol  : class JSObject
>     [javac] location: class ShipmentScaleApplet
>     [javac]         JSObject win = JSObject.getWindow(this);
>     [javac]         ^
>     [javac] D:\ofbiz avant ASL\applications\product\src\ShipmentScaleApplet.java:215: cannot resolve symbol
>     [javac] symbol  : variable JSObject
>     [javac] location: class ShipmentScaleApplet
>     [javac]         JSObject win = JSObject.getWindow(this);
>     [javac]                        ^
>     [javac] 3 errors
>
> BUILD FAILED
> D:\ofbiz avant ASL\build.xml:107: The following error occurred while executing this line:
> D:\ofbiz avant ASL\applications\build.xml:85: The following error occurred while executing this line:
> D:\ofbiz avant ASL\applications\product\build.xml:105: Compile failed; see the compiler error output for details.
>
> So I put the js.jar lib in /framework/base/lib (indeed \framework\base\lib it's on Win)
>
> But I can't get rid of this problem
>
> I also tried (silly because /product/build.xml seems right, but why not to see) to put the js.jar in root, then I made a copy of /framework/base in /base nope.
>
> To run I renames the ShipmentScaleApplet.java to ShipmentScaleApplet.java.buid.pb, then I can compile
>
> Anybody an idea ?
>
> Jacques
>
> --------------------------------------------------------------------------------
>
> PS : BTW I found also these lines :
>
> prepare:
>     [mkdir] Created dir: D:\ofbiz avant ASL\applications\order\build\classes
>     [mkdir] Created dir: D:\ofbiz avant ASL\applications\order\build\lib
>
> classpath:
>
> classes:
>     [javac] Compiling 30 source files to D:\ofbiz avant ASL\applications\order\build\classes
>     [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\order\OrderReturnServices.java:90: warning: getOrderReturnedTotal(boolean) in org.ofbiz.order.order.OrderReadHelper has been deprecated
>     [javac]         double returnTotal = orh.getOrderReturnedTotal(true);
>     [javac]                                 ^
>     [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\order\OrderReturnServices.java:91: warning: getOrderGrandTotal() in org.ofbiz.order.order.OrderReadHelper has been deprecated
>     [javac]         double orderTotal = orh.getOrderGrandTotal();
>     [javac]                                ^
>     [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\order\OrderReturnServices.java:1315: warning: getOrderGrandTotal() in org.ofbiz.order.order.OrderReadHelper has been deprecated
>     [javac]                 double grandTotal = helper.getOrderGrandTotal();
>     [javac]                                           ^
>     [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1125: warning: getOrderGrandTotal() in org.ofbiz.order.order.OrderReadHelper has been deprecated
>     [javac]             double updatedTotal = orh.getOrderGrandTotal();
>     [javac]                                      ^
>     [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1128: warning: getOrderReturnedTotal() in org.ofbiz.order.order.OrderReadHelper has been deprecated
>     [javac]             double remainingSubTotal = updatedTotal - orh.getOrderReturnedTotal() - orh.getOrderNonReturnedTaxAndShipping();
>     [javac]                                                          ^
>     [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1128: warning: getOrderNonReturnedTaxAndShipping() in org.ofbiz.order.order.OrderReadHelper has been deprecated
>     [javac]             double remainingSubTotal = updatedTotal - orh.getOrderReturnedTotal() - orh.getOrderNonReturnedTaxAndShipping();
>     [javac]                                                                                        ^
>     [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1273: warning: getOrderItemsSubTotal(java.util.List,java.util.List) in org.ofbiz.order.order.OrderReadHelper has
> been deprecated
>     [javac]                     double orderSubTotal = OrderReadHelper.getOrderItemsSubTotal(validOrderItems, allAdjustments);
>     [javac]                                                           ^
>     [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1276: warning: calcOrderAdjustments(java.util.List,double,boolean,boolean,boolean) in org.ofbiz.order.order.Order
> ReadHelper has been deprecated
>     [javac]                     BigDecimal orderShipping = new BigDecimal(OrderReadHelper.calcOrderAdjustments(orderHeaderAdjustments, orderSubTotal, false, false, true));
>     [javac]                                                                              ^
>     [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1284: warning: getOrderItemSubTotal(org.ofbiz.entity.GenericValue,java.util.List,boolean,boolean) in org.ofbiz.or
> der.order.OrderReadHelper has been deprecated
>     [javac]                             amounts.add(i, new BigDecimal(OrderReadHelper.getOrderItemSubTotal(orderItem, allAdjustments, true, false))); // get the item amount
>     [javac]                                                                          ^
>     [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1285: warning: getOrderItemAdjustmentsTotal(org.ofbiz.entity.GenericValue,java.util.List,boolean,boolean,boolean)
>  in org.ofbiz.order.order.OrderReadHelper has been deprecated
>     [javac]                             shipAmts.add(i, new BigDecimal(OrderReadHelper.getOrderItemAdjustmentsTotal(orderItem, allAdjustments, false, false, true))); // get the shipping amount
>     [javac]                                                                           ^
>     [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1444: warning: getAllOrderItemsAdjustmentsTotal(java.util.List,java.util.List,boolean,boolean,boolean) in org.ofb
> iz.order.order.OrderReadHelper has been deprecated
>     [javac]                 double currentShipping = OrderReadHelper.getAllOrderItemsAdjustmentsTotal(orh.getOrderItemAndShipGroupAssoc(shipGroupSeqId), orh.getAdjustments(), false, false, true);
>     [javac]                                                         ^
>     [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1445: warning: getOrderItemsSubTotal() in org.ofbiz.order.order.OrderReadHelper has been deprecated
>     [javac]                 currentShipping += OrderReadHelper.calcOrderAdjustments(orh.getOrderHeaderAdjustments(shipGroupSeqId), orh.getOrderItemsSubTotal(), false, false, true);
>     [javac]                                                                                                                           ^
>     [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1445: warning: calcOrderAdjustments(java.util.List,double,boolean,boolean,boolean) in org.ofbiz.order.order.Order
> ReadHelper has been deprecated
>     [javac]                 currentShipping += OrderReadHelper.calcOrderAdjustments(orh.getOrderHeaderAdjustments(shipGroupSeqId), orh.getOrderItemsSubTotal(), false, false, true);
>     [javac]                                                   ^
>     [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:2311: warning: getOrderItemsSubTotal() in org.ofbiz.order.order.OrderReadHelper has been deprecated
>     [javac]             double orderSubTotal = orh.getOrderItemsSubTotal();
>     [javac]                                       ^
>     [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:2313: warning: getAllOrderItemsAdjustmentsTotal(java.util.List,java.util.List,boolean,boolean,boolean) in org.ofb
> iz.order.order.OrderReadHelper has been deprecated
>     [javac]             double shippingAmount = OrderReadHelper.getAllOrderItemsAdjustmentsTotal(orderItems, orderAdjustments, false, false, true);
>     [javac]                                                    ^
>     [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:2314: warning: calcOrderAdjustments(java.util.List,double,boolean,boolean,boolean) in org.ofbiz.order.order.Order
> ReadHelper has been deprecated
>     [javac]             shippingAmount += OrderReadHelper.calcOrderAdjustments(orderHeaderAdjustments, orderSubTotal, false, false, true);
>     [javac]                                              ^
>     [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCart.java:1748: 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] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCart.java:2235: 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] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCart.java:3670: warning: calcOrderAdjustment(org.ofbiz.entity.GenericValue,double) in org.ofbiz.order.order.OrderRead
> Helper has been deprecated
>     [javac]                 taxTotal += OrderReadHelper.calcOrderAdjustment(v, cart.getSubTotal());
>     [javac]                                            ^
>     [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCart.java:3692: warning: calcItemAdjustment(org.ofbiz.entity.GenericValue,java.lang.Double,java.lang.Double) in org.o
> fbiz.order.order.OrderReadHelper has been deprecated
>     [javac]                     itemTax += OrderReadHelper.calcItemAdjustment(v, new Double(quantity), new Double(item.getBasePrice()));
>     [javac]                                               ^
>     [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartItem.java:1569: warning: calcItemAdjustments(java.lang.Double,java.lang.Double,java.util.List,boolean,boolean,boo
> lean,boolean,boolean) in org.ofbiz.order.order.OrderReadHelper has been deprecated
>     [javac]         return OrderReadHelper.calcItemAdjustments(new Double(quantity), new Double(getBasePrice()), this.getAdjustments(), true, false, false, false, false);
>     [javac]                               ^
>     [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\shoppingcart\shipping\ShippingEvents.java:118: warning: getShippableWeight(java.lang.String) in org.ofbiz.order.order.OrderReadHelper has
> been deprecated
>     [javac]                 contactMechId, orh.getProductStoreId(), orh.getShippableItemInfo(shipGroupSeqId), orh.getShippableWeight(shipGroupSeqId),
>     [javac]                                                                                                      ^
>     [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\shoppingcart\shipping\ShippingEvents.java:119: warning: getShippableQuantity(java.lang.String) in org.ofbiz.order.order.OrderReadHelper ha
> s been deprecated
>     [javac]                 orh.getShippableQuantity(shipGroupSeqId), orh.getShippableTotal(shipGroupSeqId));
>     [javac]                    ^
>     [javac] D:\ofbiz avant ASL\applications\order\src\org\ofbiz\order\shoppingcart\shipping\ShippingEvents.java:119: warning: getShippableTotal(java.lang.String) in org.ofbiz.order.order.OrderReadHelper has b
> een deprecated
>     [javac]                 orh.getShippableQuantity(shipGroupSeqId), orh.getShippableTotal(shipGroupSeqId));
>     [javac]                                                              ^
>     [javac] 24 warnings
>
> jar:
>       [jar] Building jar: D:\ofbiz avant ASL\applications\order\build\lib\ofbiz-order.jar
>
>
> HTH
--
Kind Regards
Andrew Sykes <[hidden email]>
Sykes Development Ltd
http://www.sykesdevelopment.com

Reply | Threaded
Open this post in threaded view
|

Re: js.jar compilation problem

Jacques Le Roux
Administrator
No, I verified

Jacques


> Jacques,
>
> Could it be your build.xml is still looking for something in /base
> rather than /framework/base?
>
> - Andrew
>
> On Sat, 2006-07-01 at 16:26 +0200, Jacques Le Roux wrote:
> > I just made a fresh check out. Making an "ant run install" I had this
already known problem :
> >
> > classes:
> >     [javac] Compiling 40 source files to D:\ofbiz avant
ASL\applications\product\build\classes
> >     [javac] D:\ofbiz avant
ASL\applications\product\src\ShipmentScaleApplet.java:42: package
netscape.javascript does not exist
> >     [javac] import netscape.javascript.JSObject;
> >     [javac]                            ^
> >     [javac] D:\ofbiz avant
ASL\applications\product\src\ShipmentScaleApplet.java:215: cannot resolve symbol
> >     [javac] symbol  : class JSObject
> >     [javac] location: class ShipmentScaleApplet
> >     [javac]         JSObject win = JSObject.getWindow(this);
> >     [javac]         ^
> >     [javac] D:\ofbiz avant
ASL\applications\product\src\ShipmentScaleApplet.java:215: cannot resolve symbol
> >     [javac] symbol  : variable JSObject
> >     [javac] location: class ShipmentScaleApplet
> >     [javac]         JSObject win = JSObject.getWindow(this);
> >     [javac]                        ^
> >     [javac] 3 errors
> >
> > BUILD FAILED
> > D:\ofbiz avant ASL\build.xml:107: The following error occurred while
executing this line:
> > D:\ofbiz avant ASL\applications\build.xml:85: The following error occurred
while executing this line:
> > D:\ofbiz avant ASL\applications\product\build.xml:105: Compile failed; see
the compiler error output for details.
> >
> > So I put the js.jar lib in /framework/base/lib (indeed \framework\base\lib
it's on Win)
> >
> > But I can't get rid of this problem
> >
> > I also tried (silly because /product/build.xml seems right, but why not to
see) to put the js.jar in root, then I made a copy of /framework/base in /base
nope.
> >
> > To run I renames the ShipmentScaleApplet.java to
ShipmentScaleApplet.java.buid.pb, then I can compile
> >
> > Anybody an idea ?
> >
> > Jacques
> >
>
> ------------------------------------------------------------------------------
--

> >
> > PS : BTW I found also these lines :
> >
> > prepare:
> >     [mkdir] Created dir: D:\ofbiz avant ASL\applications\order\build\classes
> >     [mkdir] Created dir: D:\ofbiz avant ASL\applications\order\build\lib
> >
> > classpath:
> >
> > classes:
> >     [javac] Compiling 30 source files to D:\ofbiz avant
ASL\applications\order\build\classes
> >     [javac] D:\ofbiz avant
ASL\applications\order\src\org\ofbiz\order\order\OrderReturnServices.java:90:
warning: getOrderReturnedTotal(boolean) in org.ofbiz.order.order.OrderReadHelper
has been deprecated
> >     [javac]         double returnTotal = orh.getOrderReturnedTotal(true);
> >     [javac]                                 ^
> >     [javac] D:\ofbiz avant
ASL\applications\order\src\org\ofbiz\order\order\OrderReturnServices.java:91:
warning: getOrderGrandTotal() in org.ofbiz.order.order.OrderReadHelper has been
deprecated
> >     [javac]         double orderTotal = orh.getOrderGrandTotal();
> >     [javac]                                ^
> >     [javac] D:\ofbiz avant
ASL\applications\order\src\org\ofbiz\order\order\OrderReturnServices.java:1315:
warning: getOrderGrandTotal() in org.ofbiz.order.order.OrderReadHelper has been
deprecated
> >     [javac]                 double grandTotal = helper.getOrderGrandTotal();
> >     [javac]                                           ^
> >     [javac] D:\ofbiz avant
ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1125:
warning: getOrderGrandTotal() in org.ofbiz.order.order.OrderReadHelper has been
deprecated
> >     [javac]             double updatedTotal = orh.getOrderGrandTotal();
> >     [javac]                                      ^
> >     [javac] D:\ofbiz avant
ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1128:
warning: getOrderReturnedTotal() in org.ofbiz.order.order.OrderReadHelper has
been deprecated
> >     [javac]             double remainingSubTotal = updatedTotal -
orh.getOrderReturnedTotal() - orh.getOrderNonReturnedTaxAndShipping();
> >     [javac]                                                          ^
> >     [javac] D:\ofbiz avant
ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1128:
warning: getOrderNonReturnedTaxAndShipping() in
org.ofbiz.order.order.OrderReadHelper has been deprecated
> >     [javac]             double remainingSubTotal = updatedTotal -
orh.getOrderReturnedTotal() - orh.getOrderNonReturnedTaxAndShipping();
> >     [javac]
^
> >     [javac] D:\ofbiz avant
ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1273:
warning: getOrderItemsSubTotal(java.util.List,java.util.List) in
org.ofbiz.order.order.OrderReadHelper has
> > been deprecated
> >     [javac]                     double orderSubTotal =
OrderReadHelper.getOrderItemsSubTotal(validOrderItems, allAdjustments);
> >     [javac]                                                           ^
> >     [javac] D:\ofbiz avant
ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1276:
warning: calcOrderAdjustments(java.util.List,double,boolean,boolean,boolean) in
org.ofbiz.order.order.Order
> > ReadHelper has been deprecated
> >     [javac]                     BigDecimal orderShipping = new
BigDecimal(OrderReadHelper.calcOrderAdjustments(orderHeaderAdjustments,
orderSubTotal, false, false, true));
> >     [javac]
^
> >     [javac] D:\ofbiz avant
ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1284:
warning:
getOrderItemSubTotal(org.ofbiz.entity.GenericValue,java.util.List,boolean,boolea
n) in org.ofbiz.or
> > der.order.OrderReadHelper has been deprecated
> >     [javac]                             amounts.add(i, new
BigDecimal(OrderReadHelper.getOrderItemSubTotal(orderItem, allAdjustments, true,
false))); // get the item amount
> >     [javac]
^
> >     [javac] D:\ofbiz avant
ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1285:
warning:
getOrderItemAdjustmentsTotal(org.ofbiz.entity.GenericValue,java.util.List,boolea
n,boolean,boolean)
> >  in org.ofbiz.order.order.OrderReadHelper has been deprecated
> >     [javac]                             shipAmts.add(i, new
BigDecimal(OrderReadHelper.getOrderItemAdjustmentsTotal(orderItem,
allAdjustments, false, false, true))); // get the shipping amount
> >     [javac]
^
> >     [javac] D:\ofbiz avant
ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1444:
warning:
getAllOrderItemsAdjustmentsTotal(java.util.List,java.util.List,boolean,boolean,b
oolean) in org.ofb
> > iz.order.order.OrderReadHelper has been deprecated
> >     [javac]                 double currentShipping =
OrderReadHelper.getAllOrderItemsAdjustmentsTotal(orh.getOrderItemAndShipGroupAss
oc(shipGroupSeqId), orh.getAdjustments(), false, false, true);
> >     [javac]                                                         ^
> >     [javac] D:\ofbiz avant
ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1445:
warning: getOrderItemsSubTotal() in org.ofbiz.order.order.OrderReadHelper has
been deprecated
> >     [javac]                 currentShipping +=
OrderReadHelper.calcOrderAdjustments(orh.getOrderHeaderAdjustments(shipGroupSeqI
d), orh.getOrderItemsSubTotal(), false, false, true);
> >     [javac]
^
> >     [javac] D:\ofbiz avant
ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1445:
warning: calcOrderAdjustments(java.util.List,double,boolean,boolean,boolean) in
org.ofbiz.order.order.Order
> > ReadHelper has been deprecated
> >     [javac]                 currentShipping +=
OrderReadHelper.calcOrderAdjustments(orh.getOrderHeaderAdjustments(shipGroupSeqI
d), orh.getOrderItemsSubTotal(), false, false, true);
> >     [javac]                                                   ^
> >     [javac] D:\ofbiz avant
ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:2311:
warning: getOrderItemsSubTotal() in org.ofbiz.order.order.OrderReadHelper has
been deprecated
> >     [javac]             double orderSubTotal = orh.getOrderItemsSubTotal();
> >     [javac]                                       ^
> >     [javac] D:\ofbiz avant
ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:2313:
warning:
getAllOrderItemsAdjustmentsTotal(java.util.List,java.util.List,boolean,boolean,b
oolean) in org.ofb
> > iz.order.order.OrderReadHelper has been deprecated
> >     [javac]             double shippingAmount =
OrderReadHelper.getAllOrderItemsAdjustmentsTotal(orderItems, orderAdjustments,
false, false, true);
> >     [javac]                                                    ^
> >     [javac] D:\ofbiz avant
ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:2314:
warning: calcOrderAdjustments(java.util.List,double,boolean,boolean,boolean) in
org.ofbiz.order.order.Order
> > ReadHelper has been deprecated
> >     [javac]             shippingAmount +=
OrderReadHelper.calcOrderAdjustments(orderHeaderAdjustments, orderSubTotal,
false, false, true);
> >     [javac]                                              ^
> >     [javac] D:\ofbiz avant
ASL\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCart.java:1748:
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] D:\ofbiz avant
ASL\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCart.java:2235:
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] D:\ofbiz avant
ASL\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCart.java:3670:
warning: calcOrderAdjustment(org.ofbiz.entity.GenericValue,double) in
org.ofbiz.order.order.OrderRead
> > Helper has been deprecated
> >     [javac]                 taxTotal +=
OrderReadHelper.calcOrderAdjustment(v, cart.getSubTotal());
> >     [javac]                                            ^
> >     [javac] D:\ofbiz avant
ASL\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCart.java:3692:
warning:
calcItemAdjustment(org.ofbiz.entity.GenericValue,java.lang.Double,java.lang.Doub
le) in org.o
> > fbiz.order.order.OrderReadHelper has been deprecated
> >     [javac]                     itemTax +=
OrderReadHelper.calcItemAdjustment(v, new Double(quantity), new
Double(item.getBasePrice()));
> >     [javac]                                               ^
> >     [javac] D:\ofbiz avant
ASL\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartItem.java:15
69: warning:
calcItemAdjustments(java.lang.Double,java.lang.Double,java.util.List,boolean,boo
lean,boo
> > lean,boolean,boolean) in org.ofbiz.order.order.OrderReadHelper has been
deprecated
> >     [javac]         return OrderReadHelper.calcItemAdjustments(new
Double(quantity), new Double(getBasePrice()), this.getAdjustments(), true,
false, false, false, false);
> >     [javac]                               ^
> >     [javac] D:\ofbiz avant
ASL\applications\order\src\org\ofbiz\order\shoppingcart\shipping\ShippingEvents.
java:118: warning: getShippableWeight(java.lang.String) in
org.ofbiz.order.order.OrderReadHelper has
> > been deprecated
> >     [javac]                 contactMechId, orh.getProductStoreId(),
orh.getShippableItemInfo(shipGroupSeqId),
orh.getShippableWeight(shipGroupSeqId),
> >     [javac]
^
> >     [javac] D:\ofbiz avant
ASL\applications\order\src\org\ofbiz\order\shoppingcart\shipping\ShippingEvents.
java:119: warning: getShippableQuantity(java.lang.String) in
org.ofbiz.order.order.OrderReadHelper ha
> > s been deprecated
> >     [javac]                 orh.getShippableQuantity(shipGroupSeqId),
orh.getShippableTotal(shipGroupSeqId));
> >     [javac]                    ^
> >     [javac] D:\ofbiz avant
ASL\applications\order\src\org\ofbiz\order\shoppingcart\shipping\ShippingEvents.
java:119: warning: getShippableTotal(java.lang.String) in
org.ofbiz.order.order.OrderReadHelper has b
> > een deprecated
> >     [javac]                 orh.getShippableQuantity(shipGroupSeqId),
orh.getShippableTotal(shipGroupSeqId));
> >     [javac]                                                              ^
> >     [javac] 24 warnings
> >
> > jar:
> >       [jar] Building jar: D:\ofbiz avant
ASL\applications\order\build\lib\ofbiz-order.jar
> >
> >
> > HTH
> --
> Kind Regards
> Andrew Sykes <[hidden email]>
> Sykes Development Ltd
> http://www.sykesdevelopment.com

Reply | Threaded
Open this post in threaded view
|

Re: js.jar compilation problem [OT]

Jacques Le Roux
Administrator
In reply to this post by cjhowe
It works (I just used it to verify my patch) except, as Andrew said, if you want
to use RMI

Jacques


> since when can OFBiz run with spaces in the path
> ("ofbiz avant ASL")?
>
> --- Jacques Le Roux <[hidden email]>
> wrote:
>
> > I just made a fresh check out. Making an "ant run
> > install" I had this already known problem :
> >
> > classes:
> >     [javac] Compiling 40 source files to D:\ofbiz
> > avant ASL\applications\product\build\classes
> >     [javac] D:\ofbiz avant
> >
> ASL\applications\product\src\ShipmentScaleApplet.java:42:
> > package netscape.javascript does not exist
> >     [javac] import netscape.javascript.JSObject;
> >     [javac]                            ^
> >     [javac] D:\ofbiz avant
> >
> ASL\applications\product\src\ShipmentScaleApplet.java:215:
> > cannot resolve symbol
> >     [javac] symbol  : class JSObject
> >     [javac] location: class ShipmentScaleApplet
> >     [javac]         JSObject win =
> > JSObject.getWindow(this);
> >     [javac]         ^
> >     [javac] D:\ofbiz avant
> >
> ASL\applications\product\src\ShipmentScaleApplet.java:215:
> > cannot resolve symbol
> >     [javac] symbol  : variable JSObject
> >     [javac] location: class ShipmentScaleApplet
> >     [javac]         JSObject win =
> > JSObject.getWindow(this);
> >     [javac]                        ^
> >     [javac] 3 errors
> >
> > BUILD FAILED
> > D:\ofbiz avant ASL\build.xml:107: The following
> > error occurred while executing this line:
> > D:\ofbiz avant ASL\applications\build.xml:85: The
> > following error occurred while executing this line:
> > D:\ofbiz avant
> > ASL\applications\product\build.xml:105: Compile
> > failed; see the compiler error output for details.
> >
> > So I put the js.jar lib in /framework/base/lib
> > (indeed \framework\base\lib it's on Win)
> >
> > But I can't get rid of this problem
> >
> > I also tried (silly because /product/build.xml seems
> > right, but why not to see) to put the js.jar in
> > root, then I made a copy of /framework/base in /base
> > nope.
> >
> > To run I renames the ShipmentScaleApplet.java to
> > ShipmentScaleApplet.java.buid.pb, then I can compile
> >
> > Anybody an idea ?
> >
> > Jacques
> >
> >
> ------------------------------------------------------------------------------
--

> >
> > PS : BTW I found also these lines :
> >
> > prepare:
> >     [mkdir] Created dir: D:\ofbiz avant
> > ASL\applications\order\build\classes
> >     [mkdir] Created dir: D:\ofbiz avant
> > ASL\applications\order\build\lib
> >
> > classpath:
> >
> > classes:
> >     [javac] Compiling 30 source files to D:\ofbiz
> > avant ASL\applications\order\build\classes
> >     [javac] D:\ofbiz avant
> >
> ASL\applications\order\src\org\ofbiz\order\order\OrderReturnServices.java:90:
> > warning: getOrderReturnedTotal(boolean) in
> > org.ofbiz.order.order.OrderReadHelper has been
> > deprecated
> >     [javac]         double returnTotal =
> > orh.getOrderReturnedTotal(true);
> >     [javac]                                 ^
> >     [javac] D:\ofbiz avant
> >
> ASL\applications\order\src\org\ofbiz\order\order\OrderReturnServices.java:91:
> > warning: getOrderGrandTotal() in
> > org.ofbiz.order.order.OrderReadHelper has been
> > deprecated
> >     [javac]         double orderTotal =
> > orh.getOrderGrandTotal();
> >     [javac]                                ^
> >     [javac] D:\ofbiz avant
> >
>
ASL\applications\order\src\org\ofbiz\order\order\OrderReturnServices.java:1315:

> > warning: getOrderGrandTotal() in
> > org.ofbiz.order.order.OrderReadHelper has been
> > deprecated
> >     [javac]                 double grandTotal =
> > helper.getOrderGrandTotal();
> >     [javac]
> >  ^
> >     [javac] D:\ofbiz avant
> >
> ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1125:
> > warning: getOrderGrandTotal() in
> > org.ofbiz.order.order.OrderReadHelper has been
> > deprecated
> >     [javac]             double updatedTotal =
> > orh.getOrderGrandTotal();
> >     [javac]                                      ^
> >     [javac] D:\ofbiz avant
> >
> ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1128:
> > warning: getOrderReturnedTotal() in
> > org.ofbiz.order.order.OrderReadHelper has been
> > deprecated
> >     [javac]             double remainingSubTotal =
> > updatedTotal - orh.getOrderReturnedTotal() -
> > orh.getOrderNonReturnedTaxAndShipping();
> >     [javac]
> >                 ^
> >     [javac] D:\ofbiz avant
> >
> ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1128:
> > warning: getOrderNonReturnedTaxAndShipping() in
> > org.ofbiz.order.order.OrderReadHelper has been
> > deprecated
> >     [javac]             double remainingSubTotal =
> > updatedTotal - orh.getOrderReturnedTotal() -
> > orh.getOrderNonReturnedTaxAndShipping();
> >     [javac]
> >                                               ^
> >     [javac] D:\ofbiz avant
> >
> ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1273:
> > warning:
> > getOrderItemsSubTotal(java.util.List,java.util.List)
> > in org.ofbiz.order.order.OrderReadHelper has
> > been deprecated
> >     [javac]                     double orderSubTotal
> > =
> >
> OrderReadHelper.getOrderItemsSubTotal(validOrderItems,
> > allAdjustments);
> >     [javac]
> >                  ^
> >     [javac] D:\ofbiz avant
> >
> ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1276:
> > warning:
> >
> calcOrderAdjustments(java.util.List,double,boolean,boolean,boolean)
> > in org.ofbiz.order.order.Order
> > ReadHelper has been deprecated
> >     [javac]                     BigDecimal
> > orderShipping = new
> >
> BigDecimal(OrderReadHelper.calcOrderAdjustments(orderHeaderAdjustments,
> > orderSubTotal, false, false, true));
> >     [javac]
> >                                     ^
> >     [javac] D:\ofbiz avant
> >
> ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1284:
> > warning:
> >
>
getOrderItemSubTotal(org.ofbiz.entity.GenericValue,java.util.List,boolean,boolea
n)

> > in org.ofbiz.or
> > der.order.OrderReadHelper has been deprecated
> >     [javac]
> > amounts.add(i, new
> >
> BigDecimal(OrderReadHelper.getOrderItemSubTotal(orderItem,
> > allAdjustments, true, false))); // get the item
> > amount
> >     [javac]
> >                                 ^
> >     [javac] D:\ofbiz avant
> >
> ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1285:
> > warning:
> >
>
getOrderItemAdjustmentsTotal(org.ofbiz.entity.GenericValue,java.util.List,boolea
n,boolean,boolean)

> >  in org.ofbiz.order.order.OrderReadHelper has been
> > deprecated
> >     [javac]
> > shipAmts.add(i, new
> >
> BigDecimal(OrderReadHelper.getOrderItemAdjustmentsTotal(orderItem,
> > allAdjustments, false, false, true))); // get the
> > shipping amount
> >     [javac]
> >                                  ^
> >     [javac] D:\ofbiz avant
> >
> ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1444:
> > warning:
> >
>
getAllOrderItemsAdjustmentsTotal(java.util.List,java.util.List,boolean,boolean,b
oolean)
> > in org.ofb
> > iz.order.order.OrderReadHelper has been deprecated
> >     [javac]                 double currentShipping =
> >
>
OrderReadHelper.getAllOrderItemsAdjustmentsTotal(orh.getOrderItemAndShipGroupAss
oc(shipGroupSeqId),

> > orh.getAdjustments(), false, false, true);
> >     [javac]
> >                ^
> >     [javac] D:\ofbiz avant
> >
> ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1445:
> > warning: getOrderItemsSubTotal() in
> > org.ofbiz.order.order.OrderReadHelper has been
> > deprecated
> >     [javac]                 currentShipping +=
> >
>
OrderReadHelper.calcOrderAdjustments(orh.getOrderHeaderAdjustments(shipGroupSeqI
d),

> > orh.getOrderItemsSubTotal(), false, false, true);
> >     [javac]
> >
> >                             ^
> >     [javac] D:\ofbiz avant
> >
> ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1445:
> > warning:
> >
> calcOrderAdjustments(java.util.List,double,boolean,boolean,boolean)
> > in org.ofbiz.order.order.Order
> > ReadHelper has been deprecated
> >
> === message truncated ===

Reply | Threaded
Open this post in threaded view
|

Re: js.jar compilation problem [OT]

Jacques Le Roux
Administrator
Chris,

Of course for that you have to comment out RMI in ofbizcontainer.xml

You are right, I changed for OfbizAvantASF, easier ;o)

Jacques


> It works (I just used it to verify my patch) except, as Andrew said, if you
want

> to use RMI
>
> Jacques
>
>
> > since when can OFBiz run with spaces in the path
> > ("ofbiz avant ASL")?
> >
> > --- Jacques Le Roux <[hidden email]>
> > wrote:
> >
> > > I just made a fresh check out. Making an "ant run
> > > install" I had this already known problem :
> > >
> > > classes:
> > >     [javac] Compiling 40 source files to D:\ofbiz
> > > avant ASL\applications\product\build\classes
> > >     [javac] D:\ofbiz avant
> > >
> > ASL\applications\product\src\ShipmentScaleApplet.java:42:
> > > package netscape.javascript does not exist
> > >     [javac] import netscape.javascript.JSObject;
> > >     [javac]                            ^
> > >     [javac] D:\ofbiz avant
> > >
> > ASL\applications\product\src\ShipmentScaleApplet.java:215:
> > > cannot resolve symbol
> > >     [javac] symbol  : class JSObject
> > >     [javac] location: class ShipmentScaleApplet
> > >     [javac]         JSObject win =
> > > JSObject.getWindow(this);
> > >     [javac]         ^
> > >     [javac] D:\ofbiz avant
> > >
> > ASL\applications\product\src\ShipmentScaleApplet.java:215:
> > > cannot resolve symbol
> > >     [javac] symbol  : variable JSObject
> > >     [javac] location: class ShipmentScaleApplet
> > >     [javac]         JSObject win =
> > > JSObject.getWindow(this);
> > >     [javac]                        ^
> > >     [javac] 3 errors
> > >
> > > BUILD FAILED
> > > D:\ofbiz avant ASL\build.xml:107: The following
> > > error occurred while executing this line:
> > > D:\ofbiz avant ASL\applications\build.xml:85: The
> > > following error occurred while executing this line:
> > > D:\ofbiz avant
> > > ASL\applications\product\build.xml:105: Compile
> > > failed; see the compiler error output for details.
> > >
> > > So I put the js.jar lib in /framework/base/lib
> > > (indeed \framework\base\lib it's on Win)
> > >
> > > But I can't get rid of this problem
> > >
> > > I also tried (silly because /product/build.xml seems
> > > right, but why not to see) to put the js.jar in
> > > root, then I made a copy of /framework/base in /base
> > > nope.
> > >
> > > To run I renames the ShipmentScaleApplet.java to
> > > ShipmentScaleApplet.java.buid.pb, then I can compile
> > >
> > > Anybody an idea ?
> > >
> > > Jacques
> > >
> > >
>
> ------------------------------------------------------------------------------
> --
> > >
> > > PS : BTW I found also these lines :
> > >
> > > prepare:
> > >     [mkdir] Created dir: D:\ofbiz avant
> > > ASL\applications\order\build\classes
> > >     [mkdir] Created dir: D:\ofbiz avant
> > > ASL\applications\order\build\lib
> > >
> > > classpath:
> > >
> > > classes:
> > >     [javac] Compiling 30 source files to D:\ofbiz
> > > avant ASL\applications\order\build\classes
> > >     [javac] D:\ofbiz avant
> > >
> >
ASL\applications\order\src\org\ofbiz\order\order\OrderReturnServices.java:90:
> > > warning: getOrderReturnedTotal(boolean) in
> > > org.ofbiz.order.order.OrderReadHelper has been
> > > deprecated
> > >     [javac]         double returnTotal =
> > > orh.getOrderReturnedTotal(true);
> > >     [javac]                                 ^
> > >     [javac] D:\ofbiz avant
> > >
> >
ASL\applications\order\src\org\ofbiz\order\order\OrderReturnServices.java:91:

> > > warning: getOrderGrandTotal() in
> > > org.ofbiz.order.order.OrderReadHelper has been
> > > deprecated
> > >     [javac]         double orderTotal =
> > > orh.getOrderGrandTotal();
> > >     [javac]                                ^
> > >     [javac] D:\ofbiz avant
> > >
> >
>
ASL\applications\order\src\org\ofbiz\order\order\OrderReturnServices.java:1315:

> > > warning: getOrderGrandTotal() in
> > > org.ofbiz.order.order.OrderReadHelper has been
> > > deprecated
> > >     [javac]                 double grandTotal =
> > > helper.getOrderGrandTotal();
> > >     [javac]
> > >  ^
> > >     [javac] D:\ofbiz avant
> > >
> > ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1125:
> > > warning: getOrderGrandTotal() in
> > > org.ofbiz.order.order.OrderReadHelper has been
> > > deprecated
> > >     [javac]             double updatedTotal =
> > > orh.getOrderGrandTotal();
> > >     [javac]                                      ^
> > >     [javac] D:\ofbiz avant
> > >
> > ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1128:
> > > warning: getOrderReturnedTotal() in
> > > org.ofbiz.order.order.OrderReadHelper has been
> > > deprecated
> > >     [javac]             double remainingSubTotal =
> > > updatedTotal - orh.getOrderReturnedTotal() -
> > > orh.getOrderNonReturnedTaxAndShipping();
> > >     [javac]
> > >                 ^
> > >     [javac] D:\ofbiz avant
> > >
> > ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1128:
> > > warning: getOrderNonReturnedTaxAndShipping() in
> > > org.ofbiz.order.order.OrderReadHelper has been
> > > deprecated
> > >     [javac]             double remainingSubTotal =
> > > updatedTotal - orh.getOrderReturnedTotal() -
> > > orh.getOrderNonReturnedTaxAndShipping();
> > >     [javac]
> > >                                               ^
> > >     [javac] D:\ofbiz avant
> > >
> > ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1273:
> > > warning:
> > > getOrderItemsSubTotal(java.util.List,java.util.List)
> > > in org.ofbiz.order.order.OrderReadHelper has
> > > been deprecated
> > >     [javac]                     double orderSubTotal
> > > =
> > >
> > OrderReadHelper.getOrderItemsSubTotal(validOrderItems,
> > > allAdjustments);
> > >     [javac]
> > >                  ^
> > >     [javac] D:\ofbiz avant
> > >
> > ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1276:
> > > warning:
> > >
> > calcOrderAdjustments(java.util.List,double,boolean,boolean,boolean)
> > > in org.ofbiz.order.order.Order
> > > ReadHelper has been deprecated
> > >     [javac]                     BigDecimal
> > > orderShipping = new
> > >
> > BigDecimal(OrderReadHelper.calcOrderAdjustments(orderHeaderAdjustments,
> > > orderSubTotal, false, false, true));
> > >     [javac]
> > >                                     ^
> > >     [javac] D:\ofbiz avant
> > >
> > ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1284:
> > > warning:
> > >
> >
>
getOrderItemSubTotal(org.ofbiz.entity.GenericValue,java.util.List,boolean,boolea

> n)
> > > in org.ofbiz.or
> > > der.order.OrderReadHelper has been deprecated
> > >     [javac]
> > > amounts.add(i, new
> > >
> > BigDecimal(OrderReadHelper.getOrderItemSubTotal(orderItem,
> > > allAdjustments, true, false))); // get the item
> > > amount
> > >     [javac]
> > >                                 ^
> > >     [javac] D:\ofbiz avant
> > >
> > ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1285:
> > > warning:
> > >
> >
>
getOrderItemAdjustmentsTotal(org.ofbiz.entity.GenericValue,java.util.List,boolea

> n,boolean,boolean)
> > >  in org.ofbiz.order.order.OrderReadHelper has been
> > > deprecated
> > >     [javac]
> > > shipAmts.add(i, new
> > >
> > BigDecimal(OrderReadHelper.getOrderItemAdjustmentsTotal(orderItem,
> > > allAdjustments, false, false, true))); // get the
> > > shipping amount
> > >     [javac]
> > >                                  ^
> > >     [javac] D:\ofbiz avant
> > >
> > ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1444:
> > > warning:
> > >
> >
>
getAllOrderItemsAdjustmentsTotal(java.util.List,java.util.List,boolean,boolean,b
> oolean)
> > > in org.ofb
> > > iz.order.order.OrderReadHelper has been deprecated
> > >     [javac]                 double currentShipping =
> > >
> >
>
OrderReadHelper.getAllOrderItemsAdjustmentsTotal(orh.getOrderItemAndShipGroupAss

> oc(shipGroupSeqId),
> > > orh.getAdjustments(), false, false, true);
> > >     [javac]
> > >                ^
> > >     [javac] D:\ofbiz avant
> > >
> > ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1445:
> > > warning: getOrderItemsSubTotal() in
> > > org.ofbiz.order.order.OrderReadHelper has been
> > > deprecated
> > >     [javac]                 currentShipping +=
> > >
> >
>
OrderReadHelper.calcOrderAdjustments(orh.getOrderHeaderAdjustments(shipGroupSeqI

> d),
> > > orh.getOrderItemsSubTotal(), false, false, true);
> > >     [javac]
> > >
> > >                             ^
> > >     [javac] D:\ofbiz avant
> > >
> > ASL\applications\order\src\org\ofbiz\order\order\OrderServices.java:1445:
> > > warning:
> > >
> > calcOrderAdjustments(java.util.List,double,boolean,boolean,boolean)
> > > in org.ofbiz.order.order.Order
> > > ReadHelper has been deprecated
> > >
> > === message truncated ===