CREATING DEVELOPMENT ENVIRONMENT IN ECLIPSE (Desktop VERSION)

  1. Debugging the client version is pretty straightforward and quick. In this recipe, we will see how to configure the project in Eclipse so that we can debug ADempiere when we run it as a client application (the Swing version).

 [divider]

Getting ready

  1. Before we can run ADempiere, there are properties, specific to ADempiere, which need to be configured properly for example, JDK location detail, application server detail, database detail, SMTP detail (for e-mails), and so on. The following steps must be completed to ensure that these properties are set up correctly:

[divider]

Tools Needed:

  1. Eclipse – IDE for Java EE Developers
  2. Working Internet Connection( For download of Source Code)

[divider]

Process:-

  1. Download the Source Code of the latest E2 build.
  2. Once you have the Source Code, add in eclipse in the ‘New Project window’ in the Java Project menu.

image1

 

 

  1. Create a new Java project and define the fields as Follows:-

image2

 

  1. Enter the Project name and uncheck the use default location and enter the path of your source code here.
  2. Once done click on Finish and you will notice the E2 code will be started adding to the Eclipse.
  3. Once that’s done we need to create Run configuration for the E2 project such that the main class of project is defined here.

image4

  1. Enter Project name in the name and in main class enter the main class of Adempiere i.e. org.compiere.Adempiere.
  2. Click OK and run the Run Configuration.
  3. You can run in Debug Mode also by selecting the Debug Option from the top.

image3

 

  1. For Further Debugging we can refer to the “How to Perform Debugging in Desktop UI” and take a complete look at the Debugging and as to what can we further do in it.

 

 

 

 

-By Adempiere Support {India Portal}

 

 

About This Author

Post A Reply