I love dBlog!
Immagine
 Folla... di Admin
 
"
L'abilita' politica e' l'abilita' di prevedere quello che accadra' domani, la prossima settimana, il prossimo mese e l'anno prossimo. E di essere cosi' abili, piu' tardi, da spiegare perche' non e' accaduto.

Winston Churchill
"
 
\\ MusoWeb Home Page : Articolo
Setting up a local Subversion repository to use with your Eclipse
Di Muso (del 26/09/2011 @ 15:10:43, in Informatica, linkato 3423 volte)
from :  Jayway Team Blog

I've been spending some time studying a tool for looking at the structure of code bases. After having tried out some of the more basic possibilities I wanted to go for the finer points and study changes between two versions of code to see what effect my changes made. This is where I realise that I would like to have a local Subversion repository not only for this, but also for how it would benefit some of my hobby projects. After some googling I found my way to http://subversion.tigris.org/project_packages.html where, since I'm on windows, I picked the windows path. I end up downloading the latest version of Subversion: http://subversion.tigris.org/files/documents/15/45344/svn-win32-1.6.0.zip

I unpack it in "C:\Program Files\Subversion". To get the commands to work you have to add the bin to your path. In my case I add "C:\Program Files\Subversion\svn-win32-1.5.6\bin" to the path. After this I open up a command window and do the following:

mkdir subversionRepository 
cd subversionRepository
svnadmin create project1

Now, in order to make Subversion work in Eclipse I add http://subclipse.tigris.org/update_1.6.x to my update sites. After downloading this I restart my Eclipse and go to Window -> Show View ->Other->SVN -> SVN Repositories.
I right click in the opened view and create a new repository location. Instead of writing a http adress in the URL window I now type "file:///C:/subversionRepository/project1". Notice the three forward slashes after "file:".

I now have an empty repository that I want to put my project into so I right click on the repository and add a new remote folder that I call trunk. Right clicking on the trunk I can now import my project by importing the folder that contains the .project file. I hit F5 to refresh the view and can see that the trunk is now filled with my first version of my project.

But I also have to associate the repository version with Eclipse, so now I right click in the Package Explorer and choose Import -> SVN -> Checkout Projects from SVN. I pick my previously created repository, click next, mark the trunk and then click finish. I get a question if I want to overwrite my previously created project with the same name and say ok. I won't need that now that I got a versioning system!

I can now finally continue my studies of the tool I was looking into.

Articolo Articolo  Storico Storico Stampa Stampa

Technorati tag  eclipse; informatica; subversion; versioning;

Potrebbero interessarti anche i seguenti articoli....

Con un sito ti cracco il router (33%)
Unicode in 5 minuti (17%)
Gestione date con la libreria JodaTime (2%)
Eclipse - Ant - Unsupported major.minor version 49.0 (75%)
Debug di applicazioni remote con tomcat ed eclipse (40%)
ubuntu proxy authentication (8%)
Fav7, creare una pagina web per condividere 7 URL in un solo colpo (9%)
Problem running eXist in eclipse (25%)
Come inserire codice HTML nei post (25%)
SpringSource Tool Suite - STS - "Could not create the Java virtual machine" (25%)
40 DataStage Learning, Tutorial and Certification Online Resources (1%)
Problemi di spam in dBlog? Ecco come aggiungere reCaptcha a dBlog (2%)
Cannot proxy target class because CGLIB2 is not available (33%)
java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.(Z)V (9%)
Log4J exception example - How to print the stack trace of an exception using Log4J (or Commons Logging) (17%)
Aumentare la sicurezza di Gmail con la verifica in due passaggi (2%)
The Death of WebSphere and WebLogic App Servers? New Infographic shows the Rise of OSS Java (12%)
NASA unplugs last mainframe (5%)
Albine Protected Search: l'add-on che nasconde le nostre ricerche da Google (7%)
 
Nessun commento trovato.

' Il seguente campo NON deve essere compilato.
Anti-Spam:
Testo (max 1000 caratteri)
Nome
e-Mail / Link


Disclaimer
L'indirizzo IP del mittente viene registrato, in ogni caso si raccomanda la buona educazione.


Blog ON-LINE dal 01/06/2007 
Sono state qui' 4518 persone
Sono state viste 6828 pagine
Oggi ho ricevuto 0 visite
Ieri ho ricevuto 1 visite
 
Locations of visitors to this page
 
Add to Technorati Favorites

Ci sono 531 persone collegate

< gennaio 2019 >
L
M
M
G
V
S
D
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
     
             

Cerca per parola chiave
 

Titolo
Blogosfera (11)
Eventi (12)
Films (2)
Gossip Corner (4)
Informatica (51)
Lo sapevi che (49)
Personali (24)
Politica (39)
Racconti (16)
Recensioni (2)
Societa' (6)
società (11)
Spazio DIL (2)
Sport (8)
Tecnologia (21)
Top 5 (3)
Vendesi (4)

Gli interventi più cliccati

Ultimi commenti:
Chiamo Antonella Gro...
02/05/2018 @ 13:43:31
Di Antonella
Chiamo Laura Luzchni...
16/04/2018 @ 18:03:13
Di Laura Luzchniak
Avete bisogno di ass...
03/04/2018 @ 18:56:10
Di gerard

Titolo
Eventi (16)
Header (7)
Informatica (3)
Personali (23)
Sport (14)
Vendesi (7)

Le fotografie più cliccate

Titolo
Ti piace questo blog?

 Fantastico!
 Carino...
 Così e così
 Bleah!

Titolo

Listening
Vasco
Ligabua
Doors
Caparezza
U2
Rolling Stones
Beatles

Reading
Franceschi - Fiabe della Bouna Notte
Ken Follett

Watching
Diamanti di Sangue - Blood Diamond
L'ombra del potere - The Good Shepherd



Errore Flickr RSS.




18/01/2019 @ 21:52:14
script eseguito in 1046 ms


Visitor locations