Users - 7266: Compile Errors in Order

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

Users - 7266: Compile Errors in Order

Vinay Agarwal

    [javac] Compiling 2 source files to C:\ofbiz\applications\order\build\classes

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:313: warning: calcOrderAdjustment(org.ofbiz.entity.GenericValue,double) in org.ofbiz.order.order.OrderReadHelper has been deprecated

    [javac]                 taxTotal += OrderReadHelper.calcOrderAdjustment(v, cart.getSubTotal());

    [javac]                                            ^

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:335: warning: calcItemAdjustment(org.ofbiz.entity.GenericValue,java.lang.Double,java.lang.Double) in org.ofbiz.order.order.OrderReadHelper has been deprecated

    [javac]                     itemTax += OrderReadHelper.calcItemAdjustment(v, new Double(quantity), new Double(item.getBasePrice()));

    [javac]                                               ^

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:1856: cannot resolve symbol

    [javac] symbol  : variable giftCertFinAccountTypeId

    [javac] location: class org.ofbiz.accounting.finaccount.FinAccountHelper

    [javac]             GenericValue giftCertSettings = delegator.findByPrimaryKeyCache("ProductStoreFinActSetting", UtilMisc.toMap("productStoreId", getProductStoreId(), "finAccountTypeId", FinAccountHelper.giftCertFinAccountTypeId));

    [javac]                                                                                                                                                                                                    ^

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:1864: cannot resolve symbol

    [javac] symbol  : variable defaultPinRequired

    [javac] location: class org.ofbiz.accounting.finaccount.FinAccountHelper

    [javac]                 return FinAccountHelper.defaultPinRequired;

    [javac]                                        ^

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:1868: cannot resolve symbol

    [javac] symbol  : variable defaultPinRequired

    [javac] location: class org.ofbiz.accounting.finaccount.FinAccountHelper

    [javac]             return FinAccountHelper.defaultPinRequired;

    [javac]                                    ^

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:1898: warning: calcOrderAdjustments(java.util.List,double,boolean,boolean,boolean) in org.ofbiz.order.order.OrderReadHelper has been deprecated

    [javac]         return OrderReadHelper.calcOrderAdjustments(this.getAdjustments(), this.getSubTotal(), false, false, true);

    [javac]                               ^

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:2365: warning: calcOrderAdjustments(java.util.List,double,boolean,boolean,boolean) in org.ofbiz.order.order.OrderReadHelper has been deprecated

    [javac]         return OrderReadHelper.calcOrderAdjustments(this.getAdjustments(), getSubTotal(), true, false, false);

    [javac]                               ^

    [javac] 3 errors

    [javac] 4 warnings


 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - 7266: Compile Errors in Order

Si Chen-2
Those are warnings, not errors.  We need to convert some methods to BigDecimal.  (Want to help?  :-) )

Si

Vinay Agarwal wrote:

    [javac] Compiling 2 source files to C:\ofbiz\applications\order\build\classes

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:313: warning: calcOrderAdjustment(org.ofbiz.entity.GenericValue,double) in org.ofbiz.order.order.OrderReadHelper has been deprecated

    [javac]                 taxTotal += OrderReadHelper.calcOrderAdjustment(v, cart.getSubTotal());

    [javac]                                            ^

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:335: warning: calcItemAdjustment(org.ofbiz.entity.GenericValue,java.lang.Double,java.lang.Double) in org.ofbiz.order.order.OrderReadHelper has been deprecated

    [javac]                     itemTax += OrderReadHelper.calcItemAdjustment(v, new Double(quantity), new Double(item.getBasePrice()));

    [javac]                                               ^

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:1856: cannot resolve symbol

    [javac] symbol  : variable giftCertFinAccountTypeId

    [javac] location: class org.ofbiz.accounting.finaccount.FinAccountHelper

    [javac]             GenericValue giftCertSettings = delegator.findByPrimaryKeyCache("ProductStoreFinActSetting", UtilMisc.toMap("productStoreId", getProductStoreId(), "finAccountTypeId", FinAccountHelper.giftCertFinAccountTypeId));

    [javac]                                                                                                                                                                   &nbs p;                                ^

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:1864: cannot resolve symbol

    [javac] symbol  : variable defaultPinRequired

    [javac] location: class org.ofbiz.accounting.finaccount.FinAccountHelper

    [javac]                 return FinAccountHelper.defaultPinRequired;

    [javac]                                        ^

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:1868: cannot resolve symbol

    [javac] symbol  : variable defaultPinRequired

    [javac] location: class org.ofbiz.accounting.finaccount.FinAccountHelper

    [javac]             return FinAccountHelper.defaultPinRequired;

    [javac]                                    ^

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:1898: warning: calcOrderAdjustments(java.util.List,double,boolean,boolean,boolean) in org.ofbiz.order.order.OrderReadHelper has been deprecated

    [javac]         return OrderReadHelper.calcOrderAdjustments(this.getAdjustments(), this.getSubTotal(), false, false, true);

    [javac]                               ^

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:2365: warning: calcOrderAdjustments(java.util.List,double,boolean,boolean,boolean) in org.ofbiz.order.order.OrderReadHelper has been deprecated

    [javac]         return OrderReadHelper.calcOrderAdjustments(this.getAdjustments(), getSubTotal(), true, false, false);

    [javac]                               ^

    [javac] 3 errors

    [javac] 4 warnings


_______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - 7266: Compile Errors in Order

Vinay Agarwal

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: [hidden email] [mailto:[hidden email]] On Behalf Of Si Chen
Sent: Monday, April 10, 2006 3:45 PM
To: OFBiz Users / Usage Discussion
Subject: Re: [OFBiz] Users - 7266: Compile Errors in Order

 

Those are warnings, not errors.  We need to convert some methods to BigDecimal.  (Want to help?  :-) )

Si

Vinay Agarwal wrote:

    [javac] Compiling 2 source files to C:\ofbiz\applications\order\build\classes

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:313: warning: calcOrderAdjustment(org.ofbiz.entity.GenericValue,double) in org.ofbiz.order.order.OrderReadHelper has been deprecated

    [javac]                 taxTotal += OrderReadHelper.calcOrderAdjustment(v, cart.getSubTotal());

    [javac]                                            ^

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:335: warning: calcItemAdjustment(org.ofbiz.entity.GenericValue,java.lang.Double,java.lang.Double) in org.ofbiz.order.order.OrderReadHelper has been deprecated

    [javac]                     itemTax += OrderReadHelper.calcItemAdjustment(v, new Double(quantity), new Double(item.getBasePrice()));

    [javac]                                               ^

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:1856: cannot resolve symbol

    [javac] symbol  : variable giftCertFinAccountTypeId

    [javac] location: class org.ofbiz.accounting.finaccount.FinAccountHelper

    [javac]             GenericValue giftCertSettings = delegator.findByPrimaryKeyCache("ProductStoreFinActSetting", UtilMisc.toMap("productStoreId", getProductStoreId(), "finAccountTypeId", FinAccountHelper.giftCertFinAccountTypeId));

    [javac]                                                                                                                                                                   &nbs p;                                ^

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:1864: cannot resolve symbol

    [javac] symbol  : variable defaultPinRequired

    [javac] location: class org.ofbiz.accounting.finaccount.FinAccountHelper

    [javac]                 return FinAccountHelper.defaultPinRequired;

    [javac]                                        ^

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:1868: cannot resolve symbol

    [javac] symbol  : variable defaultPinRequired

    [javac] location: class org.ofbiz.accounting.finaccount.FinAccountHelper

    [javac]             return FinAccountHelper.defaultPinRequired;

    [javac]                                    ^

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:1898: warning: calcOrderAdjustments(java.util.List,double,boolean,boolean,boolean) in org.ofbiz.order.order.OrderReadHelper has been deprecated

    [javac]         return OrderReadHelper.calcOrderAdjustments(this.getAdjustments(), this.getSubTotal(), false, false, true);

    [javac]                               ^

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:2365: warning: calcOrderAdjustments(java.util.List,double,boolean,boolean,boolean) in org.ofbiz.order.order.OrderReadHelper has been deprecated

    [javac]         return OrderReadHelper.calcOrderAdjustments(this.getAdjustments(), getSubTotal(), true, false, false);

    [javac]                               ^

    [javac] 3 errors

    [javac] 4 warnings

 



 
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbizorg/mailman/listinfo/users

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - 7266: Compile Errors in Order

Si Chen-2
In reply to this post by Vinay Agarwal
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: [hidden email] [[hidden email]] On Behalf Of Si Chen
Sent: Monday, April 10, 2006 3:45 PM
To: OFBiz Users / Usage Discussion
Subject: Re: [OFBiz] Users - 7266: Compile Errors in Order

 

Those are warnings, not errors.  We need to convert some methods to BigDecimal.  (Want to help?  :-) )

Si

Vinay Agarwal wrote:

    [javac] Compiling 2 source files to C:\ofbiz\applications\order\build\classes

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:313: warning: calcOrderAdjustment(org.ofbiz.entity.GenericValue,double) in org.ofbiz.order.order.OrderReadHelper has been deprecated

    [javac]                 taxTotal += OrderReadHelper.calcOrderAdjustment(v, cart.getSubTotal());

    [javac]                                            ^

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:335: warning: calcItemAdjustment(org.ofbiz.entity.GenericValue,java.lang.Double,java.lang.Double) in org.ofbiz.order.order.OrderReadHelper has been deprecated

    [javac]                     itemTax += OrderReadHelper.calcItemAdjustment(v, new Double(quantity), new Double(item.getBasePrice()));

    [javac]                                               ^

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:1856: cannot resolve symbol

    [javac] symbol  : variable giftCertFinAccountTypeId

    [javac] location: class org.ofbiz.accounting.finaccount.FinAccountHelper

    [javac]             GenericValue giftCertSettings = delegator.findByPrimaryKeyCache("ProductStoreFinActSetting", UtilMisc.toMap("productStoreId", getProductStoreId(), "finAccountTypeId", FinAccountHelper.giftCertFinAccountTypeId));

    [javac]                                                                                                                                                                   & ;nbs p;                                ^

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:1864: cannot resolve symbol

    [javac] symbol  : variable defaultPinRequired

    [javac] location: class org.ofbiz.accounting.finaccount.FinAccountHelper

    [javac]                 return FinAccountHelper.defaultPinRequired;

    [javac]                                        ^

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:1868: cannot resolve symbol

    [javac] symbol  : variable defaultPinRequired

    [javac] location: class org.ofbiz.accounting.finaccount.FinAccountHelper

    [javac]             return FinAccountHelper.defaultPinRequired;

    [javac]                                    ^

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:1898: warning: calcOrderAdjustments(java.util.List,double,boolean,boolean,boolean) in org.ofbiz.order.order.OrderReadHelper has been deprecated

    [javac]         return OrderReadHelper.calcOrderAdjustments(this.getAdjustments(), this.getSubTotal(), false, false, true);

    [javac]                               ^

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:2365: warning: calcOrderAdjustments(java.util.List,double,boolean,boolean,boolean) in org.ofbiz.order.order.OrderReadHelper has been deprecated

    [javac]         return OrderReadHelper.calcOrderAdjustments(this.getAdjustments(), getSubTotal(), true, false, false);

    [javac]                               ^

    [javac] 3 errors

    [javac] 4 warnings

 



 
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbizorg/mailman/listinfo/users

_______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - 7266: Compile Errors in Order

Vinay Agarwal

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: [hidden email] [mailto:[hidden email]] 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: [hidden email] [[hidden email]] On Behalf Of Si Chen
Sent: Monday, April 10, 2006 3:45 PM
To: OFBiz Users / Usage Discussion
Subject: Re: [OFBiz] Users - 7266: Compile Errors in Order

 

Those are warnings, not errors.  We need to convert some methods to BigDecimal.  (Want to help?  :-) )

Si

Vinay Agarwal wrote:

    [javac] Compiling 2 source files to C:\ofbiz\applications\order\build\classes

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:313: warning: calcOrderAdjustment(org.ofbiz.entity.GenericValue,double) in org.ofbiz.order.order.OrderReadHelper has been deprecated

    [javac]                 taxTotal += OrderReadHelper.calcOrderAdjustment(v, cart.getSubTotal());

    [javac]                                            ^

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:335: warning: calcItemAdjustment(org.ofbiz.entity.GenericValue,java.lang.Double,java.lang.Double) in org.ofbiz.order.order.OrderReadHelper has been deprecated

    [javac]                     itemTax += OrderReadHelper.calcItemAdjustment(v, new Double(quantity), new Double(item.getBasePrice()));

    [javac]                                               ^

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:1856: cannot resolve symbol

    [javac] symbol  : variable giftCertFinAccountTypeId

    [javac] location: class org.ofbiz.accounting.finaccount.FinAccountHelper

    [javac]             GenericValue giftCertSettings = delegator.findByPrimaryKeyCache("ProductStoreFinActSetting", UtilMisc.toMap("productStoreId", getProductStoreId(), "finAccountTypeId", FinAccountHelper.giftCertFinAccountTypeId));

    [javac]                                                                                                                                                                   & ;nbs p;                                ^

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:1864: cannot resolve symbol

    [javac] symbol  : variable defaultPinRequired

    [javac] location: class org.ofbiz.accounting.finaccount.FinAccountHelper

    [javac]                 return FinAccountHelper.defaultPinRequired;

    [javac]                                        ^

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:1868: cannot resolve symbol

    [javac] symbol  : variable defaultPinRequired

    [javac] location: class org.ofbiz.accounting.finaccount.FinAccountHelper

    [javac]             return FinAccountHelper.defaultPinRequired;

    [javac]                                    ^

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:1898: warning: calcOrderAdjustments(java.util.List,double,boolean,boolean,boolean) in org.ofbiz.order.order.OrderReadHelper has been deprecated

    [javac]         return OrderReadHelper.calcOrderAdjustments(this.getAdjustments(), this.getSubTotal(), false, false, true);

    [javac]                               ^

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:2365: warning: calcOrderAdjustments(java.util.List,double,boolean,boolean,boolean) in org.ofbiz.order.order.OrderReadHelper has been deprecated

    [javac]         return OrderReadHelper.calcOrderAdjustments(this.getAdjustments(), getSubTotal(), true, false, false);

    [javac]                               ^

    [javac] 3 errors

    [javac] 4 warnings

 
 
 



 
 
 
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbizorg/mailman/listinfo/users
 



 
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbizorg/mailman/listinfo/users

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - 7266: Compile Errors in Order

Si Chen-2
In reply to this post by Vinay Agarwal
Have you compiled accounting recently?

Vinay Agarwal wrote:

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: [hidden email] [[hidden email]] 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: [hidden email] [[hidden email]] On Behalf Of Si Chen
Sent: Monday, April 10, 2006 3:45 PM
To: OFBiz Users / Usage Discussion
Subject: Re: [OFBiz] Users - 7266: Compile Errors in Order

 

Those are warnings, not errors.  We need to convert some methods to BigDecimal.  (Want to help?  :-) )

Si

Vinay Agarwal wrote:

    [javac] Compiling 2 source files to C:\ofbiz\applications\order\build\classes

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:313: warning: calcOrderAdjustment(org.ofbiz.entity.GenericValue,double) in org.ofbiz.order.order.OrderReadHelper has been deprecated

    [javac]                 taxTotal += OrderReadHelper.calcOrderAdjustment(v, cart.getSubTotal());

    [javac]                                            ^

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:335: warning: calcItemAdjustment(org.ofbiz.entity.GenericValue,java.lang.Double,java.lang.Double) in org.ofbiz.order.order.OrderReadHelper has been deprecated

    [javac]                     itemTax += OrderReadHelper.calcItemAdjustment(v, new Double(quantity), new Double(item.getBasePrice()));

    [javac]                                               ^

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:1856: cannot resolve symbol

    [javac] symbol  : variable giftCertFinAccountTypeId

    [javac] location: class org.ofbiz.accounting.finaccount.FinAccountHelper

    [javac]             GenericValue giftCertSettings = delegator.findByPrimaryKeyCache("ProductStoreFinActSetting", UtilMisc.toMap("productStoreId", getProductStoreId(), "finAccountTypeId", FinAccountHelper.giftCertFinAccountTypeId));

    [javac]                                                                                                                                                                   & ; ;nbs p;                                ^

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:1864: cannot resolve symbol

    [javac] symbol  : variable defaultPinRequired

    [javac] location: class org.ofbiz.accounting.finaccount.FinAccountHelper

    [javac]                 return FinAccountHelper.defaultPinRequired;

    [javac]                                        ^

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:1868: cannot resolve symbol

    [javac] symbol  : variable defaultPinRequired

    [javac] location: class org.ofbiz.accounting.finaccount.FinAccountHelper

    [javac]             return FinAccountHelper.defaultPinRequired;

    [javac]                                    ^

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:1898: warning: calcOrderAdjustments(java.util.List,double,boolean,boolean,boolean) in org.ofbiz.order.order.OrderReadHelper has been deprecated

    [javac]         return OrderReadHelper.calcOrderAdjustments(this.getAdjustments(), this.getSubTotal(), false, false, true);

    [javac]                               ^

    [javac] C:\ofbiz\applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartjava:2365: warning: calcOrderAdjustments(java.util.List,double,boolean,boolean,boolean) in org.ofbiz.order.order.OrderReadHelper has been deprecated

    [javac]         return OrderReadHelper.calcOrderAdjustments(this.getAdjustments(), getSubTotal(), true, false, false);

    [javac]                               ^

    [javac] 3 errors

    [javac] 4 warnings

 
 
 



 
 
 
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbizorg/mailman/listinfo/users
 



 
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbizorg/mailman/listinfo/users

_______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - 7266: Compile Errors in Order

Vinay Agarwal
In reply to this post by Vinay Agarwal

I was using the main build.xml and it compiles order first. When I tried compiling accounting by running “ant” in that directory, I get these errors

classes:

    [javac] Compiling 4 source files to C:\Server\ofbizREF\applications\accounting\build\classes

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\invoice\InvoiceServices.java:47: package org.ofbiz.order.order does not exist

    [javac] import org.ofbiz.order.order.OrderReadHelper;

    [javac]                              ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\BillingAccountWorker.java:50: package org.ofbiz.order.order does not exist

    [javac] import org.ofbiz.order.order.OrderReadHelper;

    [javac]                              ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:48: package org.ofbiz.order.order does not exist

    [javac] import org.ofbiz.order.order.OrderReadHelper;

    [javac]                              ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\invoice\InvoiceServices.java:171: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.invoice.InvoiceServices

    [javac]             OrderReadHelper orh = new OrderReadHelper(orderHeader);

    [javac]             ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\invoice\InvoiceServices.java:171: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.invoice.InvoiceServices

    [javac]             OrderReadHelper orh = new OrderReadHelper(orderHeader);

    [javac]                                       ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\invoice\InvoiceServices.java:431: cannot resolve symbol

    [javac] symbol  : variable OrderReadHelper

    [javac] location: class org.ofbiz.accounting.invoice.InvoiceServices

    [javac]                     List itemAdjustments = OrderReadHelper.getOrderItemAdjustmentList(orderItem, orh.getAdjustments());

    [javac]                                            ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\BillingAccountWorker.java:143: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.BillingAccountWorker

    [javac]                 OrderReadHelper orh = new OrderReadHelper(orderHeader);

    [javac]                 ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\BillingAccountWorker.java:143: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.BillingAccountWorker

    [javac]                 OrderReadHelper orh = new OrderReadHelper(orderHeader);

    [javac]                                           ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:354: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.GiftCertificateServices

    [javac]             OrderReadHelper orh = new OrderReadHelper(delegator, orderPaymentPreference.getString("orderId"));

    [javac]             ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:354: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.GiftCertificateServices

    [javac]             OrderReadHelper orh = new OrderReadHelper(delegator, orderPaymentPreference.getString("orderId"));

    [javac]                                       ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:415: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.GiftCertificateServices

    [javac]         OrderReadHelper orh = new OrderReadHelper(delegator, orderId);

    [javac]         ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:415: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.GiftCertificateServices

    [javac]         OrderReadHelper orh = new OrderReadHelper(delegator, orderId);

    [javac]                                   ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:527: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.GiftCertificateServices

    [javac]         OrderReadHelper orh = new OrderReadHelper(delegator, orderId);

    [javac]         ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:527: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.GiftCertificateServices

    [javac]         OrderReadHelper orh = new OrderReadHelper(delegator, orderId);

    [javac]                                   ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:610: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.GiftCertificateServices

    [javac]         OrderReadHelper orh = new OrderReadHelper(orderHeader);

    [javac]         ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:610: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.GiftCertificateServices

    [javac]         OrderReadHelper orh = new OrderReadHelper(orderHeader);

    [javac]                                   ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:848: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.GiftCertificateServices

    [javac]         OrderReadHelper orh = new OrderReadHelper(orderHeader);

    [javac]         ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:848: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.GiftCertificateServices

    [javac]         OrderReadHelper orh = new OrderReadHelper(orderHeader);

    [javac]                                   ^

    [javac] 18 errors

 

BUILD FAILED

C:\Server\ofbizREF\applications\accounting\build.xml:98: Compile failed; see the compiler error output for details.

 

Total time: 4 seconds

C:\Server\ofbizREF\applications\accounting>

 


 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - 7266: Compile Errors in Order

Si Chen-2
In reply to this post by Vinay Agarwal
Vinay, you are right.  This is my fault.  I created a circular dependency.  I'm going to fix it.  Thanks for pointing it out.

Si

Vinay Agarwal wrote:

I was using the main build.xml and it compiles order first. When I tried compiling accounting by running “ant” in that directory, I get these errors

classes:

    [javac] Compiling 4 source files to C:\Server\ofbizREF\applications\accounting\build\classes

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\invoice\InvoiceServices.java:47: package org.ofbiz.order.order does not exist

    [javac] import org.ofbiz.order.order.OrderReadHelper;

    [javac]                              ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\BillingAccountWorker.java:50: package org.ofbiz.order.order does not exist

    [javac] import org.ofbiz.order.order.OrderReadHelper;

    [javac]                              ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:48: package org.ofbiz.order.order does not exist

    [javac] import org.ofbiz.order.order.OrderReadHelper;

    [javac]                              ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\invoice\InvoiceServices.java:171: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.invoice.InvoiceServices

    [javac]             OrderReadHelper orh = new OrderReadHelper(orderHeader);

    [javac]             ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\invoice\InvoiceServices.java:171: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.invoice.InvoiceServices

    [javac]             OrderReadHelper orh = new OrderReadHelper(orderHeader);

    [javac]                                       ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\invoice\InvoiceServices.java:431: cannot resolve symbol

    [javac] symbol  : variable OrderReadHelper

    [javac] location: class org.ofbiz.accounting.invoice.InvoiceServices

    [javac]                     List itemAdjustments = OrderReadHelper.getOrderItemAdjustmentList(orderItem, orh.getAdjustments());

    [javac]                                            ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\BillingAccountWorker.java:143: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.BillingAccountWorker

    [javac]                 OrderReadHelper orh = new OrderReadHelper(orderHeader);

    [javac]                 ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\BillingAccountWorker.java:143: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.BillingAccountWorker

    [javac]                 OrderReadHelper orh = new OrderReadHelper(orderHeader);

    [javac]                                           ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:354: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.GiftCertificateServices

    [javac]             OrderReadHelper orh = new OrderReadHelper(delegator, orderPaymentPreference.getString("orderId"));

    [javac]             ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:354: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.GiftCertificateServices

    [javac]             OrderReadHelper orh = new OrderReadHelper(delegator, orderPaymentPreference.getString("orderId"));

    [javac]                                       ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:415: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.GiftCertificateServices

    [javac]         OrderReadHelper orh = new OrderReadHelper(delegator, orderId);

    [javac]         ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:415: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.GiftCertificateServices

    [javac]         OrderReadHelper orh = new OrderReadHelper(delegator, orderId);

    [javac]                                   ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:527: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.GiftCertificateServices

    [javac]         OrderReadHelper orh = new OrderReadHelper(delegator, orderId);

    [javac]         ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:527: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.GiftCertificateServices

    [javac]         OrderReadHelper orh = new OrderReadHelper(delegator, orderId);

    [javac]                                   ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:610: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.GiftCertificateServices

    [javac]         OrderReadHelper orh = new OrderReadHelper(orderHeader);

    [javac]         ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:610: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.GiftCertificateServices

    [javac]         OrderReadHelper orh = new OrderReadHelper(orderHeader);

    [javac]                                   ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:848: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.GiftCertificateServices

    [javac]         OrderReadHelper orh = new OrderReadHelper(orderHeader);

    [javac]         ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:848: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.GiftCertificateServices

    [javac]         OrderReadHelper orh = new OrderReadHelper(orderHeader);

    [javac]                                   ^

    [javac] 18 errors

 

BUILD FAILED

C:\Server\ofbizREF\applications\accounting\build.xml:98: Compile failed; see the compiler error output for details.

 

Total time: 4 seconds

C:\Server\ofbizREF\applications\accounting>

 


_______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - 7266: Compile Errors in Order

Si Chen-2
Try it now.  Si

Si Chen wrote:
Vinay, you are right.  This is my fault.  I created a circular dependency.  I'm going to fix it.  Thanks for pointing it out.

Si

Vinay Agarwal wrote:

I was using the main build.xml and it compiles order first. When I tried compiling accounting by running “ant” in that directory, I get these errors

classes:

    [javac] Compiling 4 source files to C:\Server\ofbizREF\applications\accounting\build\classes

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\invoice\InvoiceServices.java:47: package org.ofbiz.order.order does not exist

    [javac] import org.ofbiz.order.order.OrderReadHelper;

    [javac]                              ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\BillingAccountWorker.java:50: package org.ofbiz.order.order does not exist

    [javac] import org.ofbiz.order.order.OrderReadHelper;

    [javac]                              ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:48: package org.ofbiz.order.order does not exist

    [javac] import org.ofbiz.order.order.OrderReadHelper;

    [javac]                              ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\invoice\InvoiceServices.java:171: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.invoice.InvoiceServices

    [javac]             OrderReadHelper orh = new OrderReadHelper(orderHeader);

    [javac]             ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\invoice\InvoiceServices.java:171: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.invoice.InvoiceServices

    [javac]             OrderReadHelper orh = new OrderReadHelper(orderHeader);

    [javac]                                       ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\invoice\InvoiceServices.java:431: cannot resolve symbol

    [javac] symbol  : variable OrderReadHelper

    [javac] location: class org.ofbiz.accounting.invoice.InvoiceServices

    [javac]                     List itemAdjustments = OrderReadHelper.getOrderItemAdjustmentList(orderItem, orh.getAdjustments());

    [javac]                                            ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\BillingAccountWorker.java:143: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.BillingAccountWorker

    [javac]                 OrderReadHelper orh = new OrderReadHelper(orderHeader);

    [javac]                 ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\BillingAccountWorker.java:143: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.BillingAccountWorker

    [javac]                 OrderReadHelper orh = new OrderReadHelper(orderHeader);

    [javac]                                           ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:354: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.GiftCertificateServices

    [javac]             OrderReadHelper orh = new OrderReadHelper(delegator, orderPaymentPreference.getString("orderId"));

    [javac]             ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:354: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.GiftCertificateServices

    [javac]             OrderReadHelper orh = new OrderReadHelper(delegator, orderPaymentPreference.getString("orderId"));

    [javac]                                       ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:415: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.GiftCertificateServices

    [javac]         OrderReadHelper orh = new OrderReadHelper(delegator, orderId);

    [javac]         ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:415: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.GiftCertificateServices

    [javac]         OrderReadHelper orh = new OrderReadHelper(delegator, orderId);

    [javac]                                   ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:527: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.GiftCertificateServices

    [javac]         OrderReadHelper orh = new OrderReadHelper(delegator, orderId);

    [javac]         ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:527: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.GiftCertificateServices

    [javac]         OrderReadHelper orh = new OrderReadHelper(delegator, orderId);

    [javac]                                   ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:610: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.GiftCertificateServices

    [javac]         OrderReadHelper orh = new OrderReadHelper(orderHeader);

    [javac]         ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:610: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.GiftCertificateServices

    [javac]         OrderReadHelper orh = new OrderReadHelper(orderHeader);

    [javac]                                   ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:848: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.GiftCertificateServices

    [javac]         OrderReadHelper orh = new OrderReadHelper(orderHeader);

    [javac]         ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:848: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.GiftCertificateServices

    [javac]         OrderReadHelper orh = new OrderReadHelper(orderHeader);

    [javac]                                   ^

    [javac] 18 errors

 

BUILD FAILED

C:\Server\ofbizREF\applications\accounting\build.xml:98: Compile failed; see the compiler error output for details.

 

Total time: 4 seconds

C:\Server\ofbizREF\applications\accounting>

 


_______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users

_______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - 7266: Compile Errors in Order

Vinay Agarwal

Builds OK now, run-install and run not tested.

 

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Si Chen
Sent: Monday, April 10, 2006 6:01 PM
To: OFBiz Users / Usage Discussion
Subject: Re: [OFBiz] Users - 7266: Compile Errors in Order

 

Try it now.  Si

Si Chen wrote:

Vinay, you are right.  This is my fault.  I created a circular dependency.  I'm going to fix it.  Thanks for pointing it out.

Si

Vinay Agarwal wrote:

I was using the main build.xml and it compiles order first. When I tried compiling accounting by running “ant” in that directory, I get these errors

classes:

    [javac] Compiling 4 source files to C:\Server\ofbizREF\applications\accounting\build\classes

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\invoice\InvoiceServices.java:47: package org.ofbiz.order.order does not exist

    [javac] import org.ofbiz.order.order.OrderReadHelper;

    [javac]                              ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\BillingAccountWorker.java:50: package org.ofbiz.order.order does not exist

    [javac] import org.ofbiz.order.order.OrderReadHelper;

    [javac]                              ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:48: package org.ofbiz.order.order does not exist

    [javac] import org.ofbiz.order.order.OrderReadHelper;

    [javac]                              ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\invoice\InvoiceServices.java:171: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.invoice.InvoiceServices

    [javac]             OrderReadHelper orh = new OrderReadHelper(orderHeader);

    [javac]             ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\invoice\InvoiceServices.java:171: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.invoice.InvoiceServices

    [javac]             OrderReadHelper orh = new OrderReadHelper(orderHeader);

    [javac]                                       ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\invoice\InvoiceServices.java:431: cannot resolve symbol

    [javac] symbol  : variable OrderReadHelper

    [javac] location: class org.ofbiz.accounting.invoice.InvoiceServices

    [javac]                     List itemAdjustments = OrderReadHelper.getOrderItemAdjustmentList(orderItem, orh.getAdjustments());

    [javac]                                            ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\BillingAccountWorker.java:143: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.BillingAccountWorker

    [javac]                 OrderReadHelper orh = new OrderReadHelper(orderHeader);

    [javac]                 ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\BillingAccountWorker.java:143: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.BillingAccountWorker

    [javac]                 OrderReadHelper orh = new OrderReadHelper(orderHeader);

    [javac]                                           ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:354: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.GiftCertificateServices

    [javac]             OrderReadHelper orh = new OrderReadHelper(delegator, orderPaymentPreference.getString("orderId"));

    [javac]             ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:354: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.GiftCertificateServices

    [javac]             OrderReadHelper orh = new OrderReadHelper(delegator, orderPaymentPreference.getString("orderId"));

    [javac]                                       ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:415: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.GiftCertificateServices

    [javac]         OrderReadHelper orh = new OrderReadHelper(delegator, orderId);

    [javac]         ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:415: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.GiftCertificateServices

    [javac]         OrderReadHelper orh = new OrderReadHelper(delegator, orderId);

    [javac]                                   ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:527: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.GiftCertificateServices

    [javac]         OrderReadHelper orh = new OrderReadHelper(delegator, orderId);

    [javac]         ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:527: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.GiftCertificateServices

    [javac]         OrderReadHelper orh = new OrderReadHelper(delegator, orderId);

    [javac]                                   ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:610: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.GiftCertificateServices

    [javac]         OrderReadHelper orh = new OrderReadHelper(orderHeader);

    [javac]         ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:610: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.GiftCertificateServices

    [javac]         OrderReadHelper orh = new OrderReadHelper(orderHeader);

    [javac]                                   ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:848: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.GiftCertificateServices

    [javac]         OrderReadHelper orh = new OrderReadHelper(orderHeader);

    [javac]         ^

    [javac] C:\Server\ofbizREF\applications\accounting\src\org\ofbiz\accounting\payment\GiftCertificateServices.java:848: cannot resolve symbol

    [javac] symbol  : class OrderReadHelper

    [javac] location: class org.ofbiz.accounting.payment.GiftCertificateServices

    [javac]         OrderReadHelper orh = new OrderReadHelper(orderHeader);

    [javac]                                   ^

    [javac] 18 errors

 

BUILD FAILED

C:\Server\ofbizREF\applications\accounting\build.xml:98: Compile failed; see the compiler error output for details.

 

Total time: 4 seconds

C:\Server\ofbizREF\applications\accounting>

 




 
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbizorg/mailman/listinfo/users
 



 
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbizorg/mailman/listinfo/users

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users