Stefan a better, shorter  and clear explanation it's impossible. Let me add 
that the IDL module was one of the affected because of this API change and it's 
the one which is failing Rok. Please update it first and rebuild again
---
Sent via BlackBerry

-----Original Message-----
From: Stefan Huehner <stefan.hueh...@openbravo.com>
Date: Sun, 06 Dec 2009 12:32:47 
To: Rok Lenardic<rok.lenar...@openbravo.com>
Cc: openbravo-development<openbravo-development@lists.sourceforge.net>
Subject: Re: [Openbravo-development] mp7 to mp9 core update

Rok Lenardic wrote:
> when i executed a core update from mp7 to mp9 on an activated instance 
> that has QuickStart Spain installed, this is what I got:
>
> compileSqlc:
> [javac] Compiling 1600 source files to /opt/AppsOpenbravo/build/classes
> [javac] 
> /opt/AppsOpenbravo/modules/org.openbravo.idl/src/org/openbravo/idl/proc/AssetsProcess.java:146:
>  
> setAnnualDepreciation(java.math.BigDecimal) in 
> org.openbravo.model.financialmgmt.assetmgmt.Asset cannot be applied to 
> (java.lang.Float)
> [javac] asset.setAnnualDepreciation(new Float(annualDepreciation));
> [javac] ^
Hi Rok,

short summary: use MMC scan for updates to update your modules to 
versions which work with MP9.

As explained in Ismael email titled: 'Critical change in Openbravo 2.50 
public API' from mid november some modules need to be updated to work 
with an API change done for MP9.
All of the modules published in the CR have been updated.

You need to update core and the affected modules together in one batch, 
as the following two combinations of:

a.) old core - new module
b.) new core - old module

will fail to compile.
The combination a.) has been excluded by specifying proper dependencies 
but for b.) nothing can be done via dependencies so it will fail if 
someone only updates core and not the modules.

So please update the modules to their latest available minor version 
which is updated/tested to work with MP9. Easiest way is using 'scan for 
updates' in the mmc.

Regards,
Stefan

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Openbravo-development mailing list
Openbravo-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-development
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Openbravo-development mailing list
Openbravo-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-development

Reply via email to