Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If you are having problems getting Eclipse + Maven + EGit to work together, here is a post with various workarounds: http://stackoverflow.com/questions/4869815/importing-a-maven-project-into-eclipse-from-git.

How to get

...

the Synapse-Repository-Services (or any) project from Github into Eclipse

  1. Create a GitHub user account
    1. Internal Sage developers will be added as a developer on the project and will be able to push directly
    2. External contributors should fork the repository and submit GitHub Pull Requests for code inclusion
  2. Clone the repository: git clone https://github.com/Sage-Bionetworks/

...

Now, in Eclipse: File > Import > Maven > Existing Maven Projects

...

  1. Synapse-Repository-Services

...


    1. This clones the 'Synapse-Repository-Services' project to your local machine.  Repeat for other projects, e.g. SynapseWebClient.

Go to github.com and create an account, noting your user name.

Assuming you have the Git plug-in working in Eclipse:
File > Import > Git > Projects From Git
Next> URI > Next>
URI: https://<your-user-name>@github.com/Sage-Bionetworks/Synapse-Repository-Services.git
Next> Next>
on the "Select a wizard…" page pick "Import as a general project"

...

  1. Import the project as a maven project
    1. File -> Import -> Maven -> Existing Maven Projects
    2. Next, in Root Directory enter the local path to your repository clone
    3. Next, Finish 
  2. Enable Git Team tracking
    1. Now right click on portal (project name) -> Team -> Share Project
    2. Next, Select repository type Git
    3. Next, Check the box "Use or create repository in parent folder of project
    4. Next, Finish

Installing Git on Windows w/Cygwin

...