自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

專家講解 如何使用SVN創(chuàng)建項(xiàng)目

開發(fā) 項(xiàng)目管理
你了解svn創(chuàng)建項(xiàng)目嗎?在這里向大家簡單介紹一下,歡迎大家一起來學(xué)習(xí)svn創(chuàng)建項(xiàng)目方法,希望通過本文的學(xué)習(xí)大家能夠掌握其方法。

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

1.創(chuàng)建Repository

運(yùn)行命令:

svnadmincreateC:Repository

就會創(chuàng)建一個倉庫。SVN創(chuàng)建項(xiàng)目就放在倉庫下。注意:運(yùn)行命令前這個目錄不能存在,否則不能創(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  
  17.  

 

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

2.添加項(xiàng)目到SVN中

2.1選擇倉庫的Layout

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

a.以項(xiàng)目分
/
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)建項(xiàng)目中具體使用哪種布局要看實(shí)際情況。

這里我使用a。

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

project

/trunk

/tags

/branch

然后進(jìn)入project目錄

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

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

【編輯推薦】

  1. SVN創(chuàng)建項(xiàng)目方法揭曉
  2. 名師講解 SVN項(xiàng)目和用戶權(quán)限配置
  3. SVN項(xiàng)目---目錄布局詳解
  4. 多項(xiàng)目中SVN權(quán)限管理精辟解析
  5. 兩個簡單操作介紹TortoiseSVN項(xiàng)目

 

責(zé)任編輯:佚名 來源: svn8.com
相關(guān)推薦

2010-05-31 19:02:17

訪問SVN

2010-05-31 13:54:52

2010-05-27 16:18:58

SVN設(shè)置

2010-05-28 10:22:41

搭建SVN

2010-05-28 17:30:58

SVN分支

2010-05-27 18:31:28

SVN入門

2010-05-28 15:47:29

SVN分支

2010-05-28 15:57:20

SVN分支

2010-05-19 16:45:26

2010-05-20 19:01:03

Eclipse使用SV

2010-05-19 15:45:23

Apache+SVN權(quán)

2010-05-28 11:33:44

SVN代碼庫

2010-05-20 16:52:31

ZendStudio客

2010-05-31 14:19:47

2010-06-01 09:02:03

SVN創(chuàng)建項(xiàng)目

2010-05-27 14:18:00

SVN使用說明

2010-05-26 16:17:46

2010-05-20 14:07:51

SVN客戶端常用命令

2010-05-28 09:15:47

SVN項(xiàng)目

2010-05-21 10:25:14

Svn import子
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號