...
- You can either allow Eclipse to download OFBiz directly from SVN,
- or you can import an already downloaded copy of OFBiz (from SVN or otherwise) from the filesystem.
- OFBiz has been split between framework and plugins. It's though still easy to allow possible for Eclipse to handle the plugins inside the framework by embedding the ofbiz-plugins project inside the ofbiz (ofbiz-framework) project. That's interesting notably if you use Subclipse.
1) Run "gradlew pullAllPluginsSource" from ofbiz-framework project .
For that simply follow root.
2) Import the just checked out ofbiz-plugins project in Eclipse.
3) Follow https://stackoverflow.com/questions/9163501/eclipse-import-folder-of-source-code-to-other-projects and then run "gradlew pullAllPluginsSource" from ofbiz-framework project root.
4) You can then close ofbiz-plugins project, you should be able to now use the sole project ofbiz to handle both framework and plugins.
I have though found it can be erratic, but most of the time it works. There is only 1 drawback. If you run gradlew eclipse your ofbiz project will lose the relation with its ofbiz-plugins sub project because this Gradle task delete and create a new .classpath files which destroy the relation created when following the stackoverflow answer. Then you need to make the steps above again. It's maybe the reason why it can be erratic. We can maybe automate that with Gradle but I'm not sure how.
Importing OFBiz from the filesystem into Eclipse
...