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 <[EMAIL PROTECTED]>
> > 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 via email to