The (r)evolution has begun: OSGi + ADempiere = iDempiere

What is iDempiere?

This project mainly driven by Low Heng Sin and Carlos Ruiz the main developer and head of development of ADempiere project for 4 years  looks like to be created to bring the development around an OSGi implementation of ADempiere done by Heng Sing Low to a stable and productive level. The main communication platform of iDempiere is the well known forum hosted by Redhuan ( red1).

 

If you want to test this project you need to follow a strict setup procedure to be successful.

1. Checkout the HG-repository to a new directory in my example: ~/Development/iDempiere/workspace/

2. Install Eclipse Helios Java EE Edition with Mercurial Plugin, Buckminster and Equinox Target Platform

3. Import the Project the following way.

  • right click in the project explorer select import and then choose buckminster:

Import iDempiere Buckminster project into Eclipse

Import iDempiere cquery file into Eclipse

The import process takes a while. After it has finished successful your project tree should look something like my.

Now you should have some run configurations imported as well. Check them in your run configurations window.

iDempiere run configurations

This should be all you need to do for testing the iDempiere project.

If I have some more time I will document the install process of the server on CentOS. This should be quite easy. First test done by me have shown that the OSGi implementation works faster. But let me check if there is a real speed improvement. The main goal is to make iDempiere more extendable than ADempiere was or is.

I am looking forward what this new projects impact will be for the ADempiere community. Maybe iDempiere will be a total independent project maybe it will become ADempiere 4.0 we will see. Never the less it’s ass kicking improvement already.

2 thoughts on “The (r)evolution has begun: OSGi + ADempiere = iDempiere

  1. Chen Xueqian

    Hi,
    I want to put user_defined models (such as I_Xx, X_Xx, MXx) into a new user bundle, such as “org.compiere.model.user”, separated from the original “org.adempiere.base and org.compiere.model”. The result is, “org.adempiere.base” and “org.compiere.model.user” dependent each other. So this caused circular dependencies, Eclipse cannot automatically build. I want to handle this situation. What would you suggest to handle this situation in IDempiere environment.

    Thanks

    Reply
  2. Chen Xueqian

    1. Open Eclipse
    2.Create a new osgi framework bundle something like ‘org.adempiere.model.user’,then creat a package named ‘org.compiere.model’,the package name must be the same as the Original model package.
    3.Add dependency ‘org.adempiere.base’ in your bundle.
    4.Put your user defined models(I_Xxxx,X_Xxxx,MXxxx) into package ‘org.compiere.model’ of your bundle,like ‘org.adempiere.model.user’ .
    5.Navigate to Run > Run Configurations > Eclipse Application >Plug-ins,tick your bundle,and click run.

    It’s OK now.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *