You are on page 1of 7

Create your ADempiere

development environment
Preparing

your Environment

Download

ADempiere sources

Compile

ADempiere sources

Running

ADempiere client

From AdempiereWiki

Preparing your Environment


Install

JDK5

Install

Eclipse + Subclipse

Install

Oracle10g XE or PostgreSQL

From AdempiereWiki

Download ADempiere sources


Download

with Subclipse (Checking out)

Checking out ADempiere as a single project


Checking out the individual projects of the trunk one at a
time

From AdempiereWiki

Download ADempiere sources


Download

ADempiere sources with Tortoise SVN

(only for Windows)


If the connection broke in the middle of checkout, you
just right-click on trunk and select "SVN update" option

From AdempiereWiki

Compile ADempiere sources


You

can use Eclipse to compile and build ADempiere.

1 - Compiling ADempiere
There are two ways for compiling:
Automatically: by default, Eclipse builds (i.e. compiles) automatically when changes
occur. Project > Build is checked by default after Eclipse installation.
Manually: in desirable cases you may want to decide when to compile. Ensure Project
> Build Automatically is not checked. You have to remember to manually compile with
Eclipse before running ADempiere.

II - Building ADempiere
There are three ways for building:
Via console: open a console, change directory to /adempiere_trunk/utils_dev and run
RUN_build.sh. This script performs a clean before building. You see the messages on
the console.
With Eclipse I: in the navigator view, expand utils_dev and select the file RUN_build.sh.
Run it either via context menu (Run as > Run) or main menu (Run > Run). You see the
messages on the console window of Eclipse. It behaves like running it from console.
With Eclipse II: in the navigator view, expand utils_dev and select the file build.xml.
Run it via context menu (Run as > ANT Build). It is faster because it performs a build
without clean.

See more
http://www.adempiere.com/index.php/Create_your_ADempiere_development_
environment#Compile_ADempiere_sources

From AdempiereWiki

Running ADempiere client

Running Adempiere through eclipse is simply a matter of creating a run


configuration (Run -> Run... -> Java Application -> New) that points to
the main method in dbPort/src/org.compiere/Adempiere.java.
(in eclipse3.3, Run -> Open Run Dialog...; under Java Application; if
'Adempiere' is not found, select 'New_configuration')

From AdempiereWiki

Running ADempiere client

U: SuperUser
P: System

From AdempiereWiki

You might also like