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.
Difference between revisions of "Jetty/Contributor/DevelopingWithGit"
< Jetty | Contributor
(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.
- (Anonymous, read-only access) http://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/
- (Developers, read-write, requires account on dev.eclipse.org) svn+ssh://{userid}@dev.eclipse.org/svnroot/rt/org.eclipse.jetty/
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"