資源描述:
《eclipse中svn版本控制插件的安裝和使用》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在應(yīng)用文檔-天天文庫。
1、以前提到過SVN版本控制器和客戶端的安裝和配置,這里再在說一下在編譯器中怎么使用SVN,使其既可以單獨(dú)使用,也可以配合SVN客戶端一起使用。由于編譯器種類眾多,插件種類也不同,這里只簡(jiǎn)單介紹下Eclipse的插件安裝。我用的版本是Eclipse3.2.2+MyEclipse_5.1.1,由于本身只有CVS而沒有集成SVN,所以要想使用SVN做版本控制只好裝一個(gè)Eclipse插件Subclipse,Subclipse的詳細(xì)安裝過程在其官方網(wǎng)站http://subversion.tigris.org寫的很清楚,還帶配圖,我就直接co
2、py了:一、InstallSubclipseinEclipse3.x(安裝)Step1:BegintheinstallationfromtheEclipseHelpmenuitem.Step2:Thisscreenshotshowthescreenasitinitiallycomesup.Inthiscaseyouwillneedtochangetheradiobuttontoindicatethatthisisanewinstall.Step3:Thisscreenwillvarydependingonthefeaturesy
3、ouhaveinstalledalready.YouwanttoclickontheNewRemoteSitebutton.IfyouarebehindaproxyandtheEclipseinstallmechanismdoesnotwork,thenyoucandownloadazippedversionoftheupdatesiteandthenclicktheNewLocalSitebuttoninstead.Step4:ThisscreenisshowingtheNewRemoteSitedialog,filledin
4、withthecorrectinformationtoinstallSubclipseName:Subclipse1.2.x(Eclipse3.2+)URL:http://subclipse.tigris.org/update_1.2.xName:Subclipse1.0.x(Eclipse3.0/3.1)URL:http://subclipse.tigris.org/update_1.0.xStep5:Whenyoufirstcomebacktothisscreen,thesiteyouaddedwillNOTbeselect
5、ed.BesuretoselectitbeforeclickingNext.Step6:Thisnextscreenshowsallofthefeaturesthatareavailabletoinstall.Step7:Clickthebuttontoacceptthelicenseagreement.Step8:ConfirmtheinstalllocationStep9:ThereisanEclipsepreferencetoturnoffthisnextdialog.Ihaveneverseenasignedfeatur
6、e.NotevenEclipse.orgnorIBMsigntheirfeatures.Step10:Justascreenshotofthein-processinstallation.Step11:EclipseneedstoberestartedafterinstallingSubclipse.Step12:Finally,afterrestartingEclipse,thefirstthingyouwilltypicallywanttodoisopentheSubclipseRepositoryperspectivewh
7、ereyoucandefineyourrepositories.BesuretoalsochecktheonlinehelpaswellastheSubclipsepreferenceslocatedunderTeam->SVN.OK到此你的插件已經(jīng)安裝完畢了,說明一下,在Step5中選擇的是在線安裝,也可以在http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91下載后進(jìn)行本地安裝,本地安裝選擇NewLocalSit...,然后找到解壓出來的那個(gè)
8、文件夾,后面的都一樣了。卸載的方法也很簡(jiǎn)單,也是點(diǎn)擊Help=>SoftwareUpdates=>ManageConfiguration按上圖操作就可以卸載了。二、UseSubclipseinEclipse3.x(使用)??????先向版本庫中加入一個(gè)Eclip