亚洲免费在线-亚洲免费在线播放-亚洲免费在线观看-亚洲免费在线观看视频-亚洲免费在线看-亚洲免费在线视频

MyEclipse下SVN的配置

系統 1793 0
來源:http://hi.baidu.com/gaigaishiwo/blog/item/29881d1f54ba61cfa686695a.html

官方地址:

Myeclipse 的插件:

http://subclipse.tigris.org/servlets/ProjectProcess;jsessionid=B1363521102428FBA0A20149CFB84245?pageID=p4wYuA




1、獲取 Subversion 服務器程序

http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91&expandFolder=91&folderID=91
到官方網站(http://subversion.tigris.org/)下載最新的服務器安裝程序。目前最新的是1.4.6版本,具體下載地址在:http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=8100&expandFolder=8100&folderID=91,注意找for apache 2.2.x 版本的。

2、獲取 TortoiseSVN 客戶端程序

http://tortoisesvn.net/downloads
從官方網站 http://tortoisesvn.net/downloads 獲取最新的TortoiseSVN 。TortoiseSVN 是一個客戶端程序,用來與 subversion 服務器端通訊。Subversion 自帶一個客戶端程序 svn.exe ,但 TortoiseSVN 更好操作,提高效率。

文章出處:http://www.diybl.com/course/1_web/webjs/2008410/109655.html



1. SVN1.4.4下載地址:http://subversion.tigris.org/files/documents/15/38369/svn-1.4.4-setup.exe,下載,安裝(安裝文件自動配好環境變量,如果是下載的壓縮包則需要手工配置)。
2. 下載SVNService.exe,拷貝到svn安裝目錄下的bin文件夾中。
3. 在dos命令環境中執行svnadmin create d:\svnDB\TechInfo,會自動生成很多文件
4. 在目錄d:\svnDB\TechInfo\conf下的passwd文件修改如下:
? [users]
? wusz = wusz
在svnserve.conf文件中修改如下:
? [general]
? anon-access = read
? auth-access = write
? password-db = passwd
? authz-db = authz
? realm = TechInfo
在文件authz中修改如下:
? [groups]
? manage =wusz
? user = wusz

? [/]
? @Manage = rw
? @user = r
? = r

? [text]
? @Manage = rw
? @user = rw
? = r
5. 在dos命令環境中執行svnservice -install -d -r d:\svnDB\TechInfo
6. 在服務中設置svnservice為自動啟動,并將其啟動。
7. 測試導入項目,在dos命令環境中執行:
svn import . svn://localhost/TechInfo -m "initial import" --username wusz --password wusz
其中[.]表示當前目錄,你也可以指定項目的絕對路徑。
如果出現錯誤:svn: D:\svnDB\TechInfo\conf\svnserve.conf:12: Option expected,原因是svnserve.conf前邊有空格,去掉即可。如果出現錯誤:svn: 認證失敗,則檢查authz和passwd中是否設置正確。
如果正常的話會出現如下信息:
? 增加???????????? .classpath
? 增加???????????? WebRoot
? 增加???????????? WebRoot\META-INF
? 增加???????????? WebRoot\META-INF\MANIFEST.MF
? 增加???????????? WebRoot\index.jsp
? 增加???????????? WebRoot\WEB-INF
? 增加???????????? WebRoot\WEB-INF\lib
? 增加???????????? WebRoot\WEB-INF\web.xml
? 增加???????????? WebRoot\WEB-INF\classes
? 增加???????????? .mymetadata
? 增加???????????? .project
? 增加???????????? src
? 增加???????????? .myeclipse
? 提交后的版本為 1。
8. 測試導出項目,在dos命令環境中轉到一個新目錄,執行:
D:\>svn checkout svn://localhost/TechInfo --username wusz --password wusz
出現如下信息
? A????? TechInfo\.classpath
? A????? TechInfo\WebRoot
? A????? TechInfo\WebRoot\META-INF
? A????? TechInfo\WebRoot\META-INF\MANIFEST.MF
? A????? TechInfo\WebRoot\index.jsp
? A????? TechInfo\WebRoot\WEB-INF
? A????? TechInfo\WebRoot\WEB-INF\lib
? A????? TechInfo\WebRoot\WEB-INF\web.xml
? A????? TechInfo\WebRoot\WEB-INF\classes
? A????? TechInfo\.mymetadata
? A????? TechInfo\.project
? A????? TechInfo\src
? A????? TechInfo\.myeclipse
? 取出版本 1。
轉到D盤根目錄下,就可以在當前目錄下生成一個TechInfo的項目目錄,目錄中的內容就是我們剛才所提交的所有文件。
9. Eclipse下的Svn配置
版本控制軟件SVN的eclipse插件Subclipse,下載地址:http://subclipse.tigris.org/
添加方式:打開MyEclipse,Help—Software Updates—Find and Install…-- Search for new features??? to install. 下一步,New Remote site,在彈出框中,name寫“svn”,URL寫http://subclipse.tigris.org/update_1.2.x,一路確定下去。
????? Windows->Preferences->Team檢查是否有SVN節點,點擊SVN即可看到該插件的設置界面。右擊項目名->Team->Share Project…打開項目共享對話框,對話框有兩個選擇,一是Eclipse內置的對CVS的支持,還有另外一個就是我們剛裝上的SVN。選擇SVN進入服務器設置界面,輸入svn服務路徑,用戶名,密碼,確認下去,到此完成。

SVN官網提供的圖片示例:

Install Subclipse in Eclipse 3.x

Step 1:

Begin the installation from the Eclipse Help menu item.


Step 2:

This screenshot show the screen as it initially comes up. In this case you will need to change the radio button to indicate that this is a new install.

Step 3:

This screen will vary depending on the features you have installed already. You want to click on the New Remote Site button. If you are behind a proxy and the Eclipse install mechanism does not work, then you can download a zipped version of the update site and then click the New Local Site button instead.

Step 4:

This screen is showing the New Remote Site dialog, filled in with the correct information to install Subclipse

Name: Subclipse 1.4.x (Eclipse 3.2+)????????? URL:? http://subclipse.tigris.org/update_1.4.x
????????? Name: Subclipse 1.2.x (Eclipse 3.2+)????????? URL:? http://subclipse.tigris.org/update_1.2.x
????????? Name: Subclipse 1.0.x (Eclipse 3.0/3.1)????????? URL:? http://subclipse.tigris.org/update_1.0.x

Step 5:

When you first come back to this screen, the site you added will NOT be selected. Be sure to select it before clicking Next.

Step 6:

This next screen shows all of the features that are available to install.

Step 7:

Click the button to accept the license agreement.

Step 8:

Confirm the install location

Step 9:

There is an Eclipse preference to turn off this next dialog. I have never seen a signed feature. Not even Eclipse.org nor IBM sign their features.

Step 10:

Just a screenshot of the in-process installation.

Step 11:

Eclipse needs to be restarted after installing Subclipse.

Step 12:

Finally, after restarting Eclipse, the first thing you will typically want to do is open the Subclipse Repository perspective where you can define your repositories. Be sure to also check the online help as well as the Subclipse preferences located under Team -> SVN.


Updating Subclipse in Eclipse 3.x

Eclipse 3.x has a feature in preference to automatically check for updates. Provided you are not behind a proxy that does not allow this feature, it should work for Subclipse. Otherwise just follow the instructions for installing Subclipse, except take the option to check for updates in Step 2.

If you are behind a proxy that does not work with Eclipse, then to install updates you just always follow the same instructions you used to install a new version. If you always unzip the site to the same local folder, you will not have to define the local site each time.

MyEclipse下SVN的配置


更多文章、技術交流、商務合作、聯系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯系: 360901061

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦!!!

發表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 97精品国产综合久久 | 国产一级一片免费播放i | 免费播放毛片 | 色好看在线视频播放 | 91香蕉网站 | 国产精品视频第一区二区 | 日本免费不卡视频一区二区三区 | 女人18毛片a级毛片免费 | 日韩久久影院 | 91在线免费看 | 日韩我不卡| 2021国产精品自产拍在线观看 | 深夜福利视频在线一区 | 日韩一区二区三区精品 | 精品国产影院 | 国产欧美成人一区二区三区 | 亚洲 欧美 另类中文字幕 | 天海翼一区二区三区免费 | 日本久操视频 | 国产一级毛片一区二区三区 | 日日夜夜免费精品 | 亚洲狠狠网站色噜噜 | 亚洲精品一区二区在线播放 | 性欧美网站 | 久久怡红院国产精品 | 色在线观看视频 | 日韩精品久久不卡中文字幕 | 99影视在线视频免费观看 | 中文字幕第13亚洲另类 | 亚洲国产精品网站久久 | 久久中文字幕不卡一二区 | 99热这里只有精品免费国产 | 中文字幕免费 | 久久精品亚洲精品国产色婷 | 欧美一级成人一区二区三区 | 蜜桃日本一道无卡不码高清 | 日日夜夜免费精品 | 韩国午夜剧场 | sihu国产精品永久免费 | 91一区| 精品视频一区二区三三区四区 |