Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Clarifies and updates Git and SVN repos links

...

  1. First you need to install Subclipse
  2. Bring up the "SVN Repository" panel in Eclipse (Window/Open Perspective/SVN Repository Exploring)
  3. Right-Click within panel/New/Repository Location the url is
    Pick the URL of the one you are interested in at http://svn.apache.org/repos/asf/ofbiz/
     eg: http://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk/
  4. Click on Finish. Now, do the initial checkout.
  5. Click the "+" next to the new repository
  6.  then Right-Click on trunk and select "Checkout...".
  7. Select "Check out as project in the workspace" and click on "Finish".
  8. 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.

...

  1. From the Eclipse main menu, choose: Window -> Perspective -> Open Perspective -> Other -> Git.
  2. 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.
    1. On the first page of the wizard, enter the location of the trunk remote repository, among
      https://github.com/apache/ofbiz/ (freezed just before the framework and plugins split, 12 Feb 2017)
      https://github.com/apache/ofbiz-framework
      https://github.com/apache/ofbiz-plugins
      and click the "Next" button.
      There is no Git repo for the branches which support the released packages, but there are SVN repos at
      http://svn.apache.org/repos/asf/ofbiz/branches
  3. 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.
  4. 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.
  5. Open the terminal view from within Eclipse: Window -> Show View -> Other -> Terminal -> Terminal.
  6. 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.
  7. 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) or gradlew eclipse (Windows).
  8. In the Git Repositories window, expand the ofbiz repository tree, choose: Working Tree -> right click -> Import Projects -> Finish.

...