Skip to main content

Eclipse IDE

Yamel Senih...About 2 minEclipse IDEIDE

Eclipse IDE

Eclipse version

Eclipse IDE for Java Developers (includes Incubating components)

Version: 2021-12 (4.22.0) Build id: 20211202-1639

Eclipse IDE

The Eclipse IDE is famous for our Java Integrated Development Environment (IDE), but we have a number of pretty cool IDEs, including our C/C++ IDE, JavaScript/TypeScript IDE, PHP IDE, and more.

You can easily combine multiple languages support and other features into any of our default packages, and the Eclipse Marketplace allows for virtually unlimited customization and extension.

You can download it hereopen in new window

Create a new Project

After cloning the repository you should open eclipse and create a new project, for it just press Shift+Alt+N or go to File -> New, after it select Java Project.


Note that the eclipse workspace is the location of sources config, tou can select other location of repository also

My workspace is /opt/Development/workspace-jdk-11 and I jus clone the ADempiere inside these route.

Create New Project

Building project

For build project just select the adempiere project and after it go to Project -> Clean -> Press button Clean

Clean Project

Change the Perspective

Now we need change the eclipse perspective to Java EE, it allows that you can see the adempiere project like a web project.

Go to menu Window -> Perspective -> Open Perpective -> Other..., after it select Java EE

Java EE

Creating Tomcat Server

The tomcat server is a popular server and ADempiere can run over it.

Supported servers

ADempiere can run over Tomcat, Wildfly and Jetty

  • Go to Servers panel and press "No servers are available. Click this link to create new server..." option

Select Servers

  • Select Apache folder and Tomcat v10.0 Server, also you can change the Server name, I change it to My Tomcat Server. Press Next

Create Tomcat Server

  • After previous step you must define the server install dir and others, note that I use /opt/Development/workspace-jdk-11 as install dir but exist a error "Unknown version of Tomcat was specified.", the eclipse wizard help to install, just press Download and Install... and acept the apache license. Finally just press Finish button.

Installing tomcat

Acept Apache License

  • Note that now exist a server with name My Tomcat Server, please make double click over it; Now you can see the server setup.

Server Created

Server Setup

  • Now we have a server with default tomcat features. This server is basically a tomcat without ADempiere setup, for get all features from ADempiere just change the Conmfiguration path by the default ADempiere path located in adempiere/tomcat/conf

Change Tomcat path

  • Select Modules tab and after it press Add Web Module... button

Select ADempiere Module

  • Select adempiere and press Ok

Add ADempiere Module

  • See the ADempiere Module enabled and press Ctrl+S for save setup file

See Module

  • After it press Open Launch Configuration and see the dialog for launch

  • Launch Configuration and select Debug Configurations... option, the follows press Classpath tab.

  • Press User Entries and after it press Add External Jars... button

Launch Configuration

  • Go to /opt/Development/workspace-jdk-11/apache-tomcat-10.0.13/lib and select all libraries.

Add all tomcat libraries

  • Press Add Jars... button and select all libraries from adempiere project located in adempiere/tools/lib

Add Jars from ADempiere

  • Repease the previous step for the folders:

    • adempiere/tools/lib/discord
    • adempiere/tools/lib/openid
    • adempiere/tools/lib/storefront
    • adempiere/JasperReportTools/lib
  • Press Add Projects... and select adempiere

Add all tomcat libraries

  • Press Debug button

Now is ready

  • Latest
  • Oldest
  • Hottest
Powered by Waline v2.15.8