Skip to content

Commit 4b3e7ee

Browse files
Steve Darnellandreasprlic
authored andcommitted
Git access
1 parent 772cf97 commit 4b3e7ee

File tree

2 files changed

+75
-12
lines changed

2 files changed

+75
-12
lines changed

_wikis/BioJava3_Eclipse_with_SVN.md

Lines changed: 46 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@ Prerequisite
99

1010
<!-- -->
1111

12-
- Make sure you have Java 1.6 installed. (if you are on oSX 10.4.x
13-
install [soylatte](http://landonf.bikemonkey.org/static/soylatte/)
12+
- Make sure you have Java 1.6 installed. (if you are on OSX 10.4.x,
13+
install [soylatte](http://landonf.bikemonkey.org/static/soylatte/))
1414

1515
<!-- -->
1616

17-
- Install the [m2eclipse](http://m2eclipse.sonatype.org/) Maven
18-
eclipse plugin. Be sure to include SCM integration, offered through
19-
the m2eclipse-extras package.
17+
- Install the [m2eclipse](http://eclipse.org/m2e/) Maven eclipse
18+
plugin (previously hosted by
19+
[Sonatype](http://m2eclipse.sonatype.org/)). Be sure to include SCM
20+
integration, offered through the m2eclipse-extras package.
2021

2122
<!-- -->
2223

@@ -31,9 +32,7 @@ Installation
3132
project
3233

3334
Details for specific Eclipse Versions
34-
=====================================
35-
36-
=
35+
-------------------------------------
3736

3837
### Update for Eclipse Helios SR2 (May 2011)
3938

@@ -107,3 +106,42 @@ here:
107106
[1](http://www.shareyourwork.org/roller/ralphsjavablog/entry/eclipse_indigo_maven_and_svn)
108107

109108
--[Andreas](User:Andreas "wikilink") 04:43, 30 August 2011 (UTC)
109+
110+
Anonymous access with Git
111+
-------------------------
112+
113+
In the past, anonymous access to BioJava source code via SVN has been
114+
problematic. Alternatively, you can retrieve the source code from the
115+
read-only [BioJava github mirror](https://github.com/biojava) using
116+
Eclipse.
117+
118+
*Requirements:*
119+
120+
- Java 6 (1.6) JDK
121+
- Eclipse Indigo (3.7) or greater
122+
- m2eclipse (Eclipse [update
123+
site](http://download.eclipse.org/technology/m2e/releases))
124+
- EGit (pre-installed with Indigo)
125+
- Maven SCM Handler for EGit (m2e-egit) from Eclipse Marketplace
126+
127+
*Additional setup:*
128+
129+
- Edit your eclipse.ini file to use the Java JDK as your VM
130+
(instructions above, required for Maven)
131+
- If necessary, [set the HOME environment
132+
variable](http://wiki.eclipse.org/EGit/User_Guide#Setting_up_the_Home_Directory_on_Windows)
133+
(required for EGit)
134+
135+
*Import the BioJava Maven project from Git ([StackOverflow
136+
answer](http://stackoverflow.com/questions/4869815/importing-a-maven-project-into-eclipse-from-git)):*
137+
138+
- Open the Git Repository perspective
139+
- Clone the BioJava git repository
140+
(http://github.com/biojava/biojava.git)
141+
- Expand the cloned repository, right-click "Working directory", and
142+
pick "Import Maven Projects..."
143+
- Open the Java perspective
144+
- Select all of the projects, right-click and choose "Team \> Share
145+
Project", select "Git", and check the "Use or create repository in
146+
parent folder of project" box
147+

_wikis/BioJava3_Eclipse_with_SVN.mediawiki

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
* Make sure you have a copy of the latest eclipse (Galileo)
44
5-
* Make sure you have Java 1.6 installed. (if you are on oSX 10.4.x install [http://landonf.bikemonkey.org/static/soylatte/ soylatte]
5+
* Make sure you have Java 1.6 installed. (if you are on OSX 10.4.x, install [http://landonf.bikemonkey.org/static/soylatte/ soylatte])
66
7-
* Install the [http://m2eclipse.sonatype.org/ m2eclipse] Maven eclipse plugin. Be sure to include SCM integration, offered through the m2eclipse-extras package.
7+
* Install the [http://eclipse.org/m2e/ m2eclipse] Maven eclipse plugin (previously hosted by [http://m2eclipse.sonatype.org/ Sonatype]). Be sure to include SCM integration, offered through the m2eclipse-extras package.
88
99
* Install the [http://subclipse.tigris.org/ subclipse] plugin for subversion (latest version: 1.6)
1010
@@ -13,7 +13,7 @@
1313
* In the SVN Repository Exploring view: Right click on the folder <i>/biojava/biojava-live/trunk</i> and select Check Out as Maven project
1414
1515

16-
= Details for specific Eclipse Versions ==
16+
== Details for specific Eclipse Versions ==
1717

1818
=== Update for Eclipse Helios SR2 (May 2011) ===
1919

@@ -57,4 +57,29 @@ To check out BioJava you can do: new -> Maven ->checkout project from SCM, add b
5757

5858
A useful blog article providing more help for how to install Maven is here: [http://www.shareyourwork.org/roller/ralphsjavablog/entry/eclipse_indigo_maven_and_svn]
5959

60-
--[[User:Andreas|Andreas]] 04:43, 30 August 2011 (UTC)
60+
--[[User:Andreas|Andreas]] 04:43, 30 August 2011 (UTC)
61+
62+
== Anonymous access with Git ==
63+
64+
In the past, anonymous access to BioJava source code via SVN has been problematic. Alternatively, you can retrieve the source code from the read-only [https://github.com/biojava BioJava github mirror] using Eclipse.
65+
66+
''Requirements:''
67+
68+
* Java 6 (1.6) JDK
69+
* Eclipse Indigo (3.7) or greater
70+
* m2eclipse (Eclipse [http://download.eclipse.org/technology/m2e/releases update site])
71+
* EGit (pre-installed with Indigo)
72+
* Maven SCM Handler for EGit (m2e-egit) from Eclipse Marketplace
73+
74+
''Additional setup:''
75+
76+
* Edit your eclipse.ini file to use the Java JDK as your VM (instructions above, required for Maven)
77+
* If necessary, [http://wiki.eclipse.org/EGit/User_Guide#Setting_up_the_Home_Directory_on_Windows set the HOME environment variable] (required for EGit)
78+
79+
''Import the BioJava Maven project from Git ([http://stackoverflow.com/questions/4869815/importing-a-maven-project-into-eclipse-from-git StackOverflow answer]):''
80+
81+
* Open the Git Repository perspective
82+
* Clone the BioJava git repository (http://github.com/biojava/biojava.git)
83+
* Expand the cloned repository, right-click "Working directory", and pick "Import Maven Projects..."
84+
* Open the Java perspective
85+
* Select all of the projects, right-click and choose "Team > Share Project", select "Git", and check the "Use or create repository in parent folder of project" box

0 commit comments

Comments
 (0)