ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Sykes <and...@sykesdevelopment.com>
Subject Re: js.jar compilation problem [OT]
Date Sat, 01 Jul 2006 14:38:38 GMT
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 <jacques.le.roux@les7arts.com>
> 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 <andrew@sykesdevelopment.com>
Sykes Development Ltd
http://www.sykesdevelopment.com


Mime
View raw message