Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Jetty/Contributor/DevelopingWithGit"

(New page: {{Jetty Contributor}} ==Obtaining code via GIT== Jetty has it's source control on dev.eclipse.org, which is accessible via 2 different urls. * (Anonymous, read-only access) http://dev.e...)
(No difference)

Revision as of 16:35, 5 August 2009


Obtaining code via GIT

Jetty has it's source control on dev.eclipse.org, which is accessible via 2 different urls.

Choose your access technique and follow along ...

To start, you'll want to make sure you have git-svn installed. You can do that by checking if there is help for you.

git svn --help

Next, you'll want to use the git-svn to clone the subversion tree to your local disk. However, the command line is a bit long, so I created a helper bash script to make this task a bit easier.

#!/bin/bash
JETTYSVNROOT=http://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty
git svn clone -r HEAD \
 --branches $JETTYSVNROOT/branches \
 --tags $JETTYSVNROOT/tags \
 --trunk $JETTYSVNROOT/trunk \
 $JETTYSVNROOT

That will pull the jetty tree from subversion, from the HEAD revision, via git-svn, to you local disk as a directory called "jetty"

Back to the top