Posts in: December, 2014

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}

 

 

Read More

Featured (Untitled)

Welcome to ADempiere, a commons-based peer-production of Open Source ERP Applications. This Forum is for the global community to contribute and share know-how and domain expertise. We hope you can find as much open information and participate in making it most usable for everyone. This project has a bazaar of Citizens with a Community Council Team which work in the Functional Team and Technical Team along the Software Development Procedure supported and funded by the foundation ADempiere e.V..

Read More