How to install Subversion (SVN) with Eclipse on Windows

Send to friend

Subversion looks to be the new version control system of choice in the open source community, supplanting CVS which supplanted RCS. This article, Why Subversion Over CVS, gives some reasons to choose Subversion over CVS. Many people also choose subversion over commercial products such as ClearCase and Visual Source Safe. The authors of "Windows Developer Power Tools" (O'Reilly 2006) write:

Subversion is our favorite version-control system, and we definitely recommend it above all others (including commercial products) in most scenarios. There may be certain areas where commercial systems excel, but for overall version control, it's tough to beat Subversion.

Step by step instructions

Here are my notes for installing Subversion, TortoiseSVN (a Subversion client which integrates with Windows Explorer), and Subclipse (the plugin for Eclipse integration) on Windows. This assumes you already have Eclipse installed. Also, these notes are geared towards version control for individual use as opposed to team use.

  1. Install Subversion and TortoiseSVN using SVN 1-Click Setup
    • Go to http://svn1clicksetup.tigris.org/, click "Download the latest version", run the installer, and accept all the defaults.
    • This is a Windows installer used "to simplify the process of setting up a Subversion repository on a Windows-based computer. Svn1ClickSetup takes a user through the steps necessary to install the Subversion command-line utilities and TortoiseSVN, as well as creating a repository and initial project." --from svn1clicksetup.tigris.org
    • To check that something went right, go to Windows Explorer and right-click on a file. You should see the "TortoiseSVN" context menu item.
  2. Install the Subclipse plugin using the instructions at http://subclipse.tigris.org/install.html.
  3. Define the SVN Repository
    • In Eclipse, from the "Window" menu, select "Open Perspective" > "Other...". Select "SVN Repository Exploring" and click "OK".
    • Inside the "SVN Repository" window, right-click in the big empty space, and select "New" > "Repository Location...".
    • In the "Url:" box, type "svn://localhost". Click "Finish". (Use this url to connect to the repository hosted on the SVN server on your local machine created using svn1clicksetup. I got this tip from http://james.cooley.ie/2006/12/01/version_control_with_eclipse_on_windows.html. If you want to use a repository on another server, then point to that location instead. "file://, http://, or https:// are the other protocols that can be used.)
  4. Add an Eclipse project to the repository
    • In the "Navigator" window, right-click on a project and select "Team" > "Share Project...".
    • Select "SVN" and click "Next"
    • Your repository, "svn://localhost", (which you added in step 3) should show up here. Click "Next".
    • Click "Next" again. Click "Finish". I got the following output in the "Console" window:
          Filesystem has no item
      
      svn: URL 'svn://localhost/my_project' non-existent in that revision
      
      
      
      mkdir -m "Initial import." svn://localhost/my_project
      
      checkout -N -r HEAD svn://localhost/my_project
      
          Checked out revision 5.
    • Select the files you want to add and click "OK". I got the following output in the "Console" window:
      add -N C:\path\to\my_project\test.py
      
          A         C:/path/to/my_project/test.py
      
      commit -m "Initial import." C:/path/to/my_project/test.py
      
          Adding         path/to/my_project/test.py
      
          Transmitting file data ...
      
          Committed revision 6.
    • See this article for more information: How to use Subversion with Eclipse
  5. Modify and commit a file
    • Edit one of the newly added files and save it.
    • In the "Navigator" window, right-click on the file, and select "Team" > "Commit...".
    • Enter a comment and click "OK". I got the following output in the "Console" window:
      commit -m "test" C:/path/to/my_project/test.py
      
          Sending        path/to/my_project/test.py
      
          Transmitting file data ...
      
          Committed revision 7.
      
      
  6. Show the history for a file
    • In the "Navigator" window, right-click on the file, and select "Team" > "Show History".
    • The "History" window should open showing the revisions of your file. Double-click on a revision to open it or right-click for other options.
No votes yet

Comments

levitra prezztyuo dimezzato

<a href=http://blog.libero.it/Vendolevitrat/>levitra farmaco generico</a> gsia <a href=http://blog.libero.it/Venditevitra/>levitra farmacia online</a> igerche <a href=http://blog.libero.it/Venditaevitrak/>prezzo levitra cialis</a> igerche <a href=http://blog.libero.it/Vardenafiluant/>levitra compresse orodispersibili</a> gsia <a href=http://blog.libero.it/Vardenafipillo/>acquistare levitra italia</a> gsia <a href=http://blog.libero.it/Vardenafioroi/>acquisto levitra generico</a> su <a href=http://blog.libero.it/Vardenafirodi/>Vardenafil orodispersibile quanto costa</a> jka <a href=http://blog.libero.it/Vardenafilodi/>vendita levitra online</a> su <a href=http://blog.libero.it/Vardenafilhodi/>acquisto levitra in farmacia</a> jka <a href=http://blog.libero.it/Vardenafilrodij/>levitra bayer</a> sfge <a href=http://blog.libero.it/Vardenafiloroi/>levitra 10 mg</a> sfge <a href=http://blog.libero.it/Vardenafillrodi/>levitra senza ricetta roma</a> su <a href=http://blog.libero.it/Vardenafillorodi/>costo levitra in farmacia</a> su <a href=http://blog.libero.it/Vardenafilom/>levitra napoli</a> su <a href=http://blog.libero.it/Vardenafildoveh/>levitra a stomaco vuoto</a> su <a href=http://blog.libero.it/Vardenafilcqui/>acquisto levitra online</a> di <a href=http://blog.libero.it/Prezzoardenafigd/>levitra prezzo farmacia</a> di <a href=http://blog.libero.it/Prezzolevitrak/>levitra controindicazioni</a> sfge <a href=http://blog.libero.it/Levitrardenafl/>farmaco levitra controindicazioni</a> jhjdjl <a href=http://blog.libero.it/Levitraenzagfi/>levitra buon prezzo</a> su <a href=http://blog.libero.it/Levitraenzajhi>levitra generico 10 mg</a> kinlk <a href=http://blog.libero.it/Levitrasenzihg/>levitra funziona sempre</a> kinlk <a href=http://blog.libero.it/Levitraantohf/>levitra 20 mg bayer</a> di <a href=http://blog.libero.it/duhgj/>levitra 10 mg funziona</a> igerche <a href=http://blog.libero.it/Levitrarezzkjjh/>farmaco levitra 10</a> sfge <a href=http://blog.libero.it/Levitrarosolubk/>vendo levitra line</a> di <a href=http://blog.libero.it/Levitrarosolubj>acquisto levitra in farmacia</a> di <a href=http://blog.libero.it/Levitrabuonre/>costo vardenafil orodispersibile</a> igerche <a href=http://blog.libero.it/Levitraassofr/>bayer levitra prezzo</a> jhjdjl <a href=http://blog.libero.it/Levitrakamaco/>levitra 10 mg prezzo</a> su <a href=http://blog.libero.it/Levitragerico/>levitra 20 mg costo</a> kinlk <a href=http://blog.libero.it/Levitrahnerico/>vardenafil orodispersibile acquisto</a> jka <a href=http://blog.libero.it/Levitrdoriginal/>vardenafil acquisto online</a> sfge <a href=http://blog.libero.it/Levitrarosolubuj/>levitra miglior prezzo</a> jhjdjl <a href=http://blog.libero.it/Levitrarosolubjh/>Levitra orosolubile generico</a> su <a href=http://blog.libero.it/Levitrarosolubgd/>levitra senza ricetta milano</a> gsia <a href=http://blog.libero.it/Levitratomacjh/>levitra prezzi</a> jhjdjl <a href=http://blog.libero.it/Levitra2mgpr/>prezzo vardenafil orodispersibile</a> igerche <a href=http://blog.libero.it/Levitra20mglco/>levitra generico 10 mg</a> jhjdjl <a href=http://blog.libero.it/Levitra0ghu/>dove comprare vardenafil</a> di <a href=http://blog.libero.it/Acquistarevardj/>levitra generico vardenafil</a> igerche <a href=http://blog.libero.it/Bayerevitr10/>vardenafil orodispersibile vendita</a> gsia <a href=http://blog.libero.it/Comprareevitraj/>comprare levitra generico</a> gsia <a href=http://blog.libero.it/Doveomprarehva/>Dove comprare vardenafil</a> jka <a href=http://blog.libero.it/Farmacevitrad/>levitra generico acquisto</a> jka <a href=http://blog.libero.it/Levitrayhenditah/>vardenafil quanto costa</a> igerche <a href=http://blog.libero.it/Levitrakenerico/>levitra originale on line</a> kinlk <a href=http://comunidad.terra.es/blogs/prezzoevitraroh/default.aspx>comprare levitra senza ricetta</a> jka <a href=http://comunidad.terra.es/blogs/costoardenafilkjo/default.aspx>levitra viagra cialis</a> di <a href=http://comunidad.terra.es/blogs/levitranapolijv/default.aspx>levitra generico vardenafil</a> jka <a href=http://farmaco-levitra-20mx.over-blog.it/>levitra prezzo in farmacia</a> gsia <a href=http://levitra-orosolubile-10-mgjt.over-blog.it/>levitra vendita on line</a> igerche <a href=http://prezzo-vardenafil-orodispersibilebw.over-blog.it/>levitra originale on line</a> gsia <a href=http://levitra-10-mgib.over-blog.it/>levitra posologia</a> di <a href=http://prezzo-levitrawr.over-blog.it/>vardenafil orodispersibile quanto costa</a> sfge <a href=http://levitra-orosolubile-5-mgtf.over-blog.it/>levitra senza ricetta milano</a> su <a href=http://acquistare-levitradd.over-blog.it>levitra generico prezzo</a> gsia <a href=http://prezzo-levitra-10-mgxa.over-blog.it/>acquistare levitra prezzo</a> jhjdjl <a href=http://prezzo-levitra-bayeryg.over-blog.it/>levitra ricetta</a> sfge <a href=http://acquisto-levitra-genericoyl.over-blog.it/>levitra prezzi bassi</a> igerche <a href=http://levitra-cialis-viagraif.over-blog.it/>levitra prezzi bassi</a> jhjdjl <a href=http://comprare-levitra-senza-ricettaab.over-blog.it/>acquisto levitra originale</a> igerche <a href=http://levitra-quanto-costa-qh.over-blog.it/>levitra quanto costa</a> igerche <a href=http://bayer-levitra-orosolubilesw.over-blog.it/>levitra prezzi farmacia</a> gsia <a href=http://farmaco-levitra-20el.over-blog.it/>bayer levitra prezzo</a> su <a href=http://acquisto-levitraex.over-blog.it/>prezzo levitra 20 mg</a> sfge <a href=http://levitra-a-cosa-serveuz.over-blog.it/>prezzo levitra orodispersibile</a> sfge <a href=http://levitra-20-mg-prezzoas.over-blog.it/>vardenafil dove comprare</a> gsia <a href=http://vardenafil-pillola-sv.over-blog.it/>levitra masticabile</a> su <a href=http://levitra-a-basso-costoze.over-blog.it/>costo levitra</a> jhjdjl <a href=http://levitra-da-10ps.over-blog.it>levitra 10 mg</a> gsia <a href=http://prezzo-levitra-farmaciayu.over-blog.it/>acquisto levitra online</a> kinlk <a href=http://levitra-20-mg-costomf.over-blog.it/>comprare levitra on line forum</a> gsia <a href=http://levitra-prezzo-farmaciaem.over-blog.it/>prezzo levitra orodispersibile</a> kinlk <a href=http://levitra-originaleed.over-blog.it>levitra vendita on line</a> igerche <a href=http://levitra-generico-vardenafilxw.blog.espresso.repubblica.it/>levitra orosolubile 10 mg</a> gsia <a href=http://levitra-10-mg-funzionadr.blog.espresso.repubblica.it/>levitra prezzi</a> kinlk <a href=http://costo-levitra-originalejx.blog.espresso.repubblica.it/>vardenafil orodispersibile effetti collaterali</a> kinlk <a href=http://levitra-acquistare-al.blog.espresso.repubblica.it/>levitra orosolubile costo</a> jhjdjl <a href=http://vardenafil-orodispersibile-acquistoet.blog.espresso.repubblica.it/>levitra ricetta</a> su <a href=http://levitra-originale-on-linecd.blog.espresso.repubblica.it/>levitra orosolubile costo</a> sfge <a href=http://acquisto-levitrasf.blog.espresso.repubblica.it/>compra levitra</a> igerche <a href=http://levitra-vardenafil-prezzihn.blog.espresso.repubblica.it/>levitra prezzi</a> igerche <a href=http://levitra-farmacokq.blog.espresso.repubblica.it/>vardenafil quanto costa</a> di <a href=http://levitra-miglior-prezzoru.blog.espresso.repubblica.it/>acquistare levitra originale</a> jka <a href=http://vardenafil-orodispersibile-10-mg-prezzoqy.blog.espresso.repubblica.it/>vardenafil orodispersibile quanto costa</a> jhjdjl <a href=http://prezzo-levitra-farmaciaui.blog.espresso.repubblica.it/>levitra prezzo bayer</a> su <a href=http://levitra-generico-10-mgfg.blog.espresso.repubblica.it/>levitra da 10</a> su <a href=http://prezzi-levitrauv.blog.espresso.repubblica.it/>levitra a stomaco vuoto</a> jhjdjl <a href=http://acquistare-levitra-prezzope.blog.espresso.repubblica.it/>levitra ricetta medica</a> igerche <a href=http://levitra-20-mg-bayerbw.blog.espresso.repubblica.it/>costo levitra 10 mg</a> jka <a href=http://levitra-10-mg-funzionaaa.blog.espresso.repubblica.it/>levitra generico anagen</a> jhjdjl <a href=http://levitra-10-mgxo.blog.espresso.repubblica.it/>levitra orosolubile in italia</a> jhjdjl <a href=http://levitra-generico-prezzovh.blog.espresso.repubblica.it/>prezzo levitra generico</a> gsia <a href=http://acquista-levitrang.blog.espresso.repubblica.it/>levitra bayer</a> su <a href=http://levitra-10-mg-prezzobj.blog.espresso.repubblica.it/>levitra ricetta</a> gsia <a href=http://acquisto-levitra-originalerd.blog.espresso.repubblica.it/>levitra 10 mg prezzo</a> jka <a href=http://levitra-20-mg-compresseyg.blog.espresso.repubblica.it/>farmaco levitra a cosa serve</a> su <a href=http://bayer-levitra-prezzouq.blog.espresso.repubblica.it/>bayer levitra 10 mg</a> jka <a href=http://bayer-levitra-sublingualewj.blog.espresso.repubblica.it/>prezzo levitra in farmacia</a> kinlk