Apache OFBiz™ is an open source product for the automation of enterprise processes that includes framework components and business applications for ERP (Enterprise Resource Planning), CRM (Customer Relationship Management), E-Business / E-Commerce, SCM (Supply Chain Management), MRP (Manufacturing Resource Planning), MMS/EAM (Maintenance Management System/Enterprise Asset Management), POS (Point Of Sale).
View main post: Apache OFBiz: Importing and debugging in Eclipse
There are some ways to debug OFBiz with Eclipse, you can try them on OFBiz pages: Running and Debugging OFBiz in Eclipse
In this post, I show remote debugging with images and video, feel free to comment your questions or requirements
1. Importing:
Step 1:
Go to: Files -> Import, select:
- “Existing Projects into Workspace” in General node
and then click Next:
Step 2:
Browse from your OFBiz source code and click “Finish”
Now you can work with Apache OFBiz on Eclipse.
Eclipse show all jar library files by default, it is too messy:
You can hide them by:
- Select the “ofbiz” node(In Project Explorer view)
- Choose “View menu”(arrow icon)
- Choose “Customize view”
- Select “Content” tab
- Un-check “Java element”
2. Debugging:
Step 1: Running OFBiz in debug mode
- Enable Ant view in Eclipse: Go to Window -> Show view -> Other -> Select Ant node
- Drag build.xml file from Project Explorer view to Ant view
- Click Arrow icon to view all options
- Double click on “start-debug” node
- Wait for OFBiz starting(~30-60 seconds)
Step 2: Create Debug configuration
- Go to: Run -> Debug configuration
- Double clicks on “Remote Java Application”
- Change port from 8000 to 8091
- Select Source tab
- Remove “Default” project
- Add ofbiz project
- Click Debug and enjoy
For more detail, visit this video: Apache OFBiz importing and debugging in Eclipse