日本综合一区二区|亚洲中文天堂综合|日韩欧美自拍一区|男女精品天堂一区|欧美自拍第6页亚洲成人精品一区|亚洲黄色天堂一区二区成人|超碰91偷拍第一页|日韩av夜夜嗨中文字幕|久久蜜综合视频官网|精美人妻一区二区三区

RELATEED CONSULTING
相關(guān)咨詢
選擇下列產(chǎn)品馬上在線溝通
服務(wù)時間:8:30-17:00
你可能遇到了下面的問題
關(guān)閉右側(cè)工具欄

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
專家講解如何使用SVN創(chuàng)建項目

本節(jié)向大家描述一下SVN創(chuàng)建項目方法,內(nèi)容主要包括創(chuàng)建Repository和.添加項目到SVN中,在這里和大家分享一下,希望通過本文的學習大家能夠?qū)VN創(chuàng)建項目方法有一定的認識。下面是具體介紹。

吉首網(wǎng)站制作公司哪家好,找創(chuàng)新互聯(lián)公司!從網(wǎng)頁設(shè)計、網(wǎng)站建設(shè)、微信開發(fā)、APP開發(fā)、成都響應(yīng)式網(wǎng)站建設(shè)公司等網(wǎng)站項目制作,到程序開發(fā),運營維護。創(chuàng)新互聯(lián)公司自2013年創(chuàng)立以來到現(xiàn)在10年的時間,我們擁有了豐富的建站經(jīng)驗和運維經(jīng)驗,來保證我們的工作的順利進行。專注于網(wǎng)站建設(shè)就選創(chuàng)新互聯(lián)公司。

1.創(chuàng)建Repository

運行命令:

svnadmincreateC:Repository

就會創(chuàng)建一個倉庫。SVN創(chuàng)建項目就放在倉庫下。注意:運行命令前這個目錄不能存在,否則不能創(chuàng)建。

在倉庫下將會生產(chǎn)這些目錄:

 
 
 
  1. conf/dav/db/formathooks/locks/README.txt
  2. conf
  3. Adirectorycontainingrepositoryconfigurationfiles
  4. dav
  5. AdirectoryprovidedtoApacheandmod_dav_svnfortheirprivatehousekeepingdata
  6. db
  7. ThemainBerkeleyDBenvironment,
  8. fullofDBtablesthatcomprisethedatastoreforSubversion'sfilesystem(whereallofyourversioneddataresides)
  9. format
  10. Afilewhosecontentsareasingleintegervaluethatdictatestheversionnumberoftherepositorylayout
  11. hooks
  12. Adirectoryfullofhookscripttemplates(andhookscriptsthemselves,onceyou'veinstalledsome)
  13. locks
  14. AdirectoryforSubversion'srepositorylockingdata,usedfortrackingaccessorstotherepository
  15. README.txt
  16. AfilewhichmerelyinformsitsreadersthattheyarelookingataSubversionrepository

hook是很有用的,因為通過hook,更新代碼時,可以觸發(fā)事件,來幫助我們autobuild我們的程序。關(guān)于這方面的知識可以參考《pragmaticprojectautomation》,里面講得很詳細

2.添加項目到SVN中

2.1選擇倉庫的Layout

SVN創(chuàng)建項目中通常倉庫有兩種布局:

a.以項目分
/
Project1/

trunk/

tags/

branches/

Project2/

trunk/

tags/

branches/

關(guān)于什么是trunk,tags,branches我就不解釋,查看相關(guān)資料,網(wǎng)上有很多。

b.以分支為主
/
trunk/

project1/

project2/

tags/

project1/

project2/

branches/

project1/

project2/

SVN創(chuàng)建項目中具體使用哪種布局要看實際情況。

這里我使用a。

在workspace,創(chuàng)建目錄

project

/trunk

/tags

/branch

然后進入project目錄

svnimport.file:///C:/BillProject/-m'init'

這樣,SVN創(chuàng)建項目就添加成功。就可以用eclipse來checkout項目了。


當前文章:專家講解如何使用SVN創(chuàng)建項目
當前網(wǎng)址:http://www.dlmjj.cn/article/djidgjc.html