Re: Users - 7266: Compile Errors in Order

Posted by Si Chen-2 on
URL: http://ofbiz.116.s1.nabble.com/Users-7266-Compile-Errors-in-Order-tp138458p138460.html

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