Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Jetty/Contributor/DevelopingWithGit

< Jetty‎ | Contributor
Revision as of 16:35, 5 August 2009 by Unnamed Poltroon (Talk) (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...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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