Build failed

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

Build failed

Renaldas
Hi,
I updated to revision 497744.
I made ant clean.
I  run ant run-install and I got this error:

    [javac] Compiling 13 source files to D:\ofbiz_opentaps_480169\hot-deploy\crm
sfa\build\classes
    [javac] D:\ofbiz_opentaps_480169\hot-deploy\crmsfa\src\com\opensourcestrateg
ies\crmsfa\orders\CrmsfaOrderEvents.java:181: addOrIncreaseItem(java.lang.String
,java.lang.Double,double,java.sql.Timestamp,java.lang.Double,java.lang.Double,ja
va.sql.Timestamp,java.sql.Timestamp,java.util.Map,java.util.Map,java.lang.String
,org.ofbiz.product.config.ProductConfigWrapper,java.lang.String,java.lang.String
,java.lang.String,org.ofbiz.service.LocalDispatcher) in org.ofbiz.order.shopping
cart.ShoppingCart cannot be applied to (java.lang.String,<nulltype>,int,<nulltyp
e>,<nulltype>,<nulltype>,<nulltype>,<nulltype>,<nulltype>,<nulltype>,<nulltype>,
<nulltype>,<nulltype>,<nulltype>,org.ofbiz.service.LocalDispatcher)
    [javac]                 cart.addOrIncreaseItem(productId, null, 1, null, nul
l, null, null, null, null, null, null, null, null, null, dispatcher);
    [javac]                     ^
    [javac] D:\ofbiz_opentaps_480169\hot-deploy\crmsfa\src\com\opensourcestrateg
ies\crmsfa\orders\CrmsfaOrderEvents.java:275: addOrIncreaseItem(java.lang.String
,java.lang.Double,double,java.sql.Timestamp,java.lang.Double,java.lang.Double,ja
va.sql.Timestamp,java.sql.Timestamp,java.util.Map,java.util.Map,java.lang.String
,org.ofbiz.product.config.ProductConfigWrapper,java.lang.String,java.lang.String
,java.lang.String,org.ofbiz.service.LocalDispatcher) in org.ofbiz.order.shopping
cart.ShoppingCart cannot be applied to (java.lang.String,<nulltype>,double,<null
type>,<nulltype>,<nulltype>,java.sql.Timestamp,<nulltype>,<nulltype>,java.util.M
ap,<nulltype>,<nulltype>,<nulltype>,<nulltype>,org.ofbiz.service.LocalDispatcher
)
    [javac]             cart.addOrIncreaseItem(productId, null, quantity, null,
null, null, shipBeforeDate, null, null, attributes, null, null, null, null, disp
atcher);
    [javac]                 ^
    [javac] 2 errors

Sorry if this is my mistake.

Renaldas
Reply | Threaded
Open this post in threaded view
|

Re: Build failed

Jacques Le Roux
Administrator
Renaldas,

I already reported this bug to opentaps guys. Actually it comes from a change I did yesterday from a Si's suggestion. I should have
tell it to Si before doing this change. Anyway this is trivial : please just permute the 2 last parameters of  cart.ShoppingCart

Jacques

----- Original Message -----
From: "Renaldas" <[hidden email]>
To: <[hidden email]>
Sent: Friday, January 19, 2007 9:57 AM
Subject: Build failed


>
> Hi,
> I updated to revision 497744.
> I made ant clean.
> I  run ant run-install and I got this error:
>
>     [javac] Compiling 13 source files to
> D:\ofbiz_opentaps_480169\hot-deploy\crm
> sfa\build\classes
>     [javac]
> D:\ofbiz_opentaps_480169\hot-deploy\crmsfa\src\com\opensourcestrateg
> ies\crmsfa\orders\CrmsfaOrderEvents.java:181:
> addOrIncreaseItem(java.lang.String
> ,java.lang.Double,double,java.sql.Timestamp,java.lang.Double,java.lang.Double,ja
> va.sql.Timestamp,java.sql.Timestamp,java.util.Map,java.util.Map,java.lang.String
> ,org.ofbiz.product.config.ProductConfigWrapper,java.lang.String,java.lang.String
> ,java.lang.String,org.ofbiz.service.LocalDispatcher) in
> org.ofbiz.order.shopping
> cart.ShoppingCart cannot be applied to
> (java.lang.String,<nulltype>,int,<nulltyp
> e>,<nulltype>,<nulltype>,<nulltype>,<nulltype>,<nulltype>,<nulltype>,<nulltype>,
> <nulltype>,<nulltype>,<nulltype>,org.ofbiz.service.LocalDispatcher)
>     [javac]                 cart.addOrIncreaseItem(productId, null, 1, null,
> nul
> l, null, null, null, null, null, null, null, null, null, dispatcher);
>     [javac]                     ^
>     [javac]
> D:\ofbiz_opentaps_480169\hot-deploy\crmsfa\src\com\opensourcestrateg
> ies\crmsfa\orders\CrmsfaOrderEvents.java:275:
> addOrIncreaseItem(java.lang.String
> ,java.lang.Double,double,java.sql.Timestamp,java.lang.Double,java.lang.Double,ja
> va.sql.Timestamp,java.sql.Timestamp,java.util.Map,java.util.Map,java.lang.String
> ,org.ofbiz.product.config.ProductConfigWrapper,java.lang.String,java.lang.String
> ,java.lang.String,org.ofbiz.service.LocalDispatcher) in
> org.ofbiz.order.shopping
> cart.ShoppingCart cannot be applied to
> (java.lang.String,<nulltype>,double,<null
> type>,<nulltype>,<nulltype>,java.sql.Timestamp,<nulltype>,<nulltype>,java.util.M
> ap,<nulltype>,<nulltype>,<nulltype>,<nulltype>,org.ofbiz.service.LocalDispatcher
> )
>     [javac]             cart.addOrIncreaseItem(productId, null, quantity,
> null,
> null, null, shipBeforeDate, null, null, attributes, null, null, null, null,
> disp
> atcher);
>     [javac]                 ^
>     [javac] 2 errors
>
> Sorry if this is my mistake.
>
> Renaldas
> --
> View this message in context: http://www.nabble.com/Build-failed-tf3038895.html#a8445934
> Sent from the OFBiz - Dev mailing list archive at Nabble.com.