SVN版本控制需要SVN服务器(可下载SVN安装或安装VisualSVNServer)和SVN客户端软件(Subclipse即Eclipse的SVN客户端插件或者TortoiseSVN)。足球数据库
Svn是一个开源的版本控制系统Subversion的简称。Subversion管理着随时间改变的数据。这些数据放置在一个中央资料档案库(repository)中。这个档案库很像一个普通的文件服务器,不过它会记住每一次文件的变动。这样你就可以把档案恢复到旧的版本,或是浏览文件的变动历史。
subclipse安装
一、InstallSubclipseinEclipse3.x(安装)
Step1:
BegintheinstallationfromtheEclipseHelpmenuitem.

Step2:
Thisscreenshotshowthescreenasitinitiallycomesup.Inthiscaseyouwillneedtochangetheradiobuttontoindicatethatthisisanewinstall.

Step3:
Thisscreenwillvarydependingonthefeaturesyouhaveinstalledalready.YouwanttoclickontheNewRemoteSitebutton.IfyouarebehindaproxyandtheEclipseinstallmechanismdoesnotwork,thenyoucandownloadazippedversionoftheupdatesiteandthenclicktheNewLocalSitebuttoninstead.

Step4:
ThisscreenisshowingtheNewRemoteSitedialog,filledinwiththecorrectinformationtoinstallSubclipse

Name:Subclipse1.2.x(Eclipse3.2+) URL: http://subclipse.tigris.org/update_1.2.x Name:Subclipse1.0.x(Eclipse3.0/3.1) URL: http://subclipse.tigris.org/update_1.0.x
Step5:
Whenyoufirstcomebacktothisscreen,thesiteyouaddedwillNOTbeselected.BesuretoselectitbeforeclickingNext.

Step6:
Thisnextscreenshowsallofthefeaturesthatareavailabletoinstall.

Step7:
Clickthebuttontoacceptthelicenseagreement.

Step8:
Confirmtheinstalllocation

Step9:
ThereisanEclipsepreferencetoturnoffthisnextdialog.Ihaveneverseenasignedfeature.NotevenEclipse.orgnorIBMsigntheirfeatures.

Step10:
Justascreenshotofthein-processinstallation.

Step11:
EclipseneedstoberestartedafterinstallingSubclipse.

Step12:
Finally,afterrestartingEclipse,thefirstthingyouwilltypicallywanttodoisopentheSubclipseRepositoryperspectivewhereyoucandefineyourrepositories.BesuretoalsochecktheonlinehelpaswellastheSubclipsepreferenceslocatedunderTeam->SVN.

OK
到此你的插件已经安装完毕了,说明一下,在Step5中选择的是在线安装,也可以在http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91下载后进行本地安装,本地安装选择NewLocalSit...,然后找到解压出来的那个文件夹,后面的都一样了。
卸载的方法也很简单,也是点击Help=>SoftwareUpdates=>ManageConfiguration

按上图操作就可以卸载了。
二、UseSubclipseinEclipse3.x(使用)
先向版本库中加入一个Eclipse工程,我这里是随便搭建的一个WEB工程SVNtest,将它导入版本库svn://localhost/ts(这使用本机装的版本库,其他机器就要打ip地址,之前说过)。导入后用版本库浏览器找到你导入的工程目录,把其下WebRootWEB-INFclasses目录删掉(注意:不删出以后会报错,原因后面再讨论)这些初始化的操作都用客户端工具完成的,毕竟插件的功能还不是那么强大。

做好以上的准备后打开Eclipse编译器,点击编译器右上角的OpenPerspective打开SVN资源库界面,新建一个资源库

选择资源库的位置,这里我们就用刚才搭好的svn://localhost/ts作为工程目录,点击Finish后如果成功则会看到版本服务器中工程的树形结构了(可能需要用户密码验证)。在svn://localhost/ts根目录上点右键,选择“验出”(英文版的可能叫CheckOut),在弹出窗口中选择“作为空间的项目验出”,下边的项目名称随便叫,我这里还是用SVNtest作为项目名称。

一切没有问题了点击Finish。之后它就会从服务器上把工程下到你本地了。好啦,来到Eclipse编辑栏会发现刚才下的工程文件都会带有SVN版本控制标记了,再去Workspace看看,也会发现下载的工程文件夹,并且也有控制标记。而且里我们会发现在SVN控制下的文件多出来一个Team选单,打开一看原来就是一个客户端工具呀,提交,更新,同步,合并,切换……我们再熟悉不过了,自己试试吧^_^。

顺便说一下刚才为什么要删除class目录,起初我没有删掉它,更改提交没有问题,但在更新时总是报错:……Workingcopynotlocked;thisisprobablyabug,pleasereportsvn:……,提示就是class目录下的.svn有毛病,到http://www.tigris.org查找解决方法,有一段描述:
ThismessageiscomingstraightoutoftheSubversionlibrary,sotechnicallyitisSubversionaskingyoutoreporttheproblemtothem.Thiserrormessageiskindoftheirgeneralerrormessagewhensomethingreallyunexpectedhappens.InthecaseofEclipse,theproblemisalmostalwaysonespecificthing.TheproblemisthatyourEclipsebuildfolderwasversionedandaddedtoyourrepository.WhathappensisthatwhenEclipsedoesafullbuilditwilldeleteeverythinginthisfolder,includingthe".svn"metadatafolder.WhenSubversioncannotfindthisfolderitissuestheaboveerror.
Thesolutionistodeletethisfolderfromyourrepository,whichyoucandofromtheSVNRepositoriesview.Thentrydeletingthefolderfromyourworkingcopyandperforiminganupdate.Youmightneedtocheckoutyourprojectagain.Onceyouhaveavalidprojectagain,besuretoaddthebuildfoldertothesvn:ignorepropertyofitsparentfoldersothattheproblemdoesnothappenagain.
Ifthisisnotyourproblem,thenasbestasyoucantrytofigureoutwhatmighthaveleduptohavingthisproblemandreportitonthSubversionusers@subversion.tigris.orgmailinglist
大意:重新部署工程时会将文件夹WEB-INF/classes下的内容全删了,包括".svn"这个文件夹,从面导致SVN找不到这个文件夹的信息,于是报错。解决的方法是在SVN仓库内将classes下的内容清空,然后在确保本地工程已完全提交的情况下,将本地工程包括文件删除,再从SVN仓库中重新取出。导致此问题的原因善不明确,估计是往这个文件夹手动添加了文件。
亚博电子网址 备用网址2 外围接口控制器 威尼斯商人批注 手机购彩网展开

找车位app-找车位1.0.8 安卓版【停车服务软件】
看理想视频下载-看理想app3.10.2 安卓最新版
凯立德导航C3551-C7M24修改版-凯立德移动导航系统C-Car6.0电商版(C3551-C7M24)旗舰版
万稷幸福农场红包版下载-万稷幸福农场1.0.7 最新版
Tron Mall波场商城app下载-Tron Mall波场商城0.8.0 安卓版
真香烧烤赚钱游戏下载-真香烧烤赚钱游戏1.0.0.0 安卓版
人力资源新闻app下载-人力资源新闻9.81 安卓手机版
igxe电竞饰品交易平台下载-igxe交易平台官方版3.21.1 最新版
小智看房app1.1.1 苹果手机版
Ginos Encryptor下载-文件加密软件(Ginos Encryptor)1.0 绿色版
收据打印软件免费版下载-一点通学校收据打印软件2.1 官方版
myeclipse 2017 ci5破解版-myeclipse 2017 ci5完美破解版免费版
创维32e361w说明书下载-创维32e361w电视机使用说明书pdf电子免费版
异次元密室游戏下载-异次元密室游戏中文版PC免安装版【附通关攻略】
鲁迅说过的话下载-鲁迅说过的话app1.04 安卓版
我只是想在过年前谈个恋爱表情包-我只是想在过年前谈个恋爱而已又不是想上春晚图片抖音版
奇巧app下载-奇巧交友软件4.2.4 安卓版
宇宙蘑菇养成日记手游苹果版下载-宇宙蘑菇养成日记ios版1.2苹果版
少年群侠传客户端下载-37少年群侠传微端1.0 官方pc版
轻掌柜app下载-轻掌柜app1.4.3 手机版