Category Archives: iDempiere

Build the iDempiere Project using Eclipse with buckminster

This tutorial explains the setup of an development environment for building the iDempiere project.

First download a the newest Helios(3.6) version of Eclipse. Be careful Helios is not the newest version of Eclipse but you need the newest version of Helios 3.6.2.x.

Now start Eclipse and install the following plugins.

  • buckminster core
  • buckminster maven
  • buckminster pde
  • mecurialeclipse (optional if you want to commit out of eclipse)

——>

Update (2014-06-03):

I just tested this tutorial with Java 1.7.0 and Eclipse Kepler SP2 (4.3) on my Mac Book and it worked like a charm.
For all who are using the new Eclipse release this is possible, too.
Here is the Buckminster update pages I used for installing the plugins:
http://download.eclipse.org/tools/buckminster/updates-4.3

<——–

Next step is to download the sources via mecurial:
hg clone https://bitbucket.org/idempiere/idempiere idempiere

This new created directory needs to be your workspace in Eclipse. You can select this at startup of Eclipse.

Create a new target platform in the Eclipse preferences.

Create a new empty directory within your workspace where all the other stuff is located now called: targetPlatform

Preferences -> Plug-in Development -> Target Platform -> Add

Follow the steps on the screenshots:

target definition
 
Close the preferences window if you are done and right click into the project explorer and click import.
Choose buckminster:
And click Finish to start the process. This takes a while.
You Eclipse should look something like this now:
If you want to start the java client out of eclipse now you can do this by selecting the org.adempiere.ui.swing package and right click -> run as -> Eclipse application.

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.