...
- First you need to install Subclipse
- Bring up the "SVN Repository" panel in Eclipse (Window/Open Perspective/SVN Repository Exploring)
- Right-Click within panel/New/Repository Location the url is http://svn.apache.org/repos/asf/ofbiz/trunk
- Click on Finish. Now, do the initial checkout.
- Click the "+" next to the new repository
- then Right-Click on trunk and select "Checkout...".
- Select "Check out as project in the workspace" and click on "Finish".
- This will create a new project that you can name as you want and download the OFBiz files directly from SVN. To sync your project with SVN in the future, right-click on the project and click Teams/Synchronize with Repository.
...
Using GIT from within Eclipse
You will need "Git Team Provider" package (integral part of many Eclipse IDE builds) for this to work. If not installed please check "EGit - Git integration for Eclipse".
- From the Eclipse main menu, choose: Window -> Perspective -> Open Perspective -> Other -> Git.
- In the "Git Repositories" window click the "Clone a Git repository" link or the "Clone a Git Repository and add the clone to this view" button from the view's toolbar to start git clone wizard.
- On the first page of the wizard, enter the location of the remote repository https://github.com/apache/ofbiz/ and click the "Next" button.
- On the next "Branche Selection" page, choose which branches shall be cloned from the remote repository (by default all selected).
Example: Click the "Deselect all" button, choose "release16.11" branch and click the "Next" button. - On the "Local Destination" page, choose the directory where you want to store the repository on the local file system and click the "Finish" button.
If you want the OFBiz files in your Eclipse workspace directory, choose: Browse -> [/location/of/the/eclipse/workspace/directory].
Upon successful completion of the clone operation, the newly cloned repository appears automatically in the list of the Git Repositories perspective. - Open the terminal view from within Eclipse: Window -> Show View -> Other -> Terminal -> Terminal.
- In the "Terminal" window, click the "Open a Terminal" button from the view's toolbar (confirm with "Ok" in the "Launch Terminal" window) to start the terminal.
- In the terminal, open the directory where you stored the repository (i.e. /location/of/the/eclipse/workspace/directory/ofbiz) and run
./gradlew eclipse
(Linux) orgradlew eclipse
(Windows). - In the Git Repositories window, expand the ofbiz repository tree, choose: Working Tree -> right click -> Import Projects -> Finish.
After the import is finished your project is ready to be built, developed and debugged.
For more information about how to manage the repository please see EGit/User Guide - Managing Repositories.
...
Hide folders from searches
...