Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added screenshots from current verison of eclipse

...

  • EGit (available from Eclipse Marketplace)
    • Use this to clone a repository from GitHub and then import as a Maven project.
      • To clone a repository from GitHub:
        • From Eclipse, select File->Import
        • Select Git->Projects From Git
          Image Added
        • Select URI...
        • URI should be in this format: https://github.com/openmrs/openmrs-module-htmlformentry.git
          Image Added
        • Once you've cloned the repository, skip the rest of the import because you want to import this as a Maven project
      • To import as a Maven project:
        • Select File->Import
        • Select Maven->Existing Maven Projects
        • Select the project to import
          Image Added
      • To associate this project with Git:
        • Right click on project and select Team->Share Project
          Image Added
        • Select Git
        • Check "Use or create repository in parent folder of project"
        • If the HOME environmental variable is not set it will give warning:The following directory will be used for GIT user configuration and as a default repository location. If it is your home directory (e.g. C:\Users\Tom) click OK or create the HOME environmental variable pointing to your home directory and restart Eclipse.
  • Maven SCM Connector for Git (available from Eclipse Marketplace)
    • Doesn't create an EGit managed project

...