svn-1.4.6 + Apache2.2.6 + Eclipse version control (turn)

2010-05-29  来源:本站原创  分类:Development  人气:136 

http://blog.csdn.net/hp9016/archive/2008/11/07/3245349.aspx

For 1.4.0 the svn, only with Apache 2.0
Otherwise, Apache will not start service from http://www.svn8.com/svnpz/20080516/604.htm
Windows to configure and use svn-1.4.6 + Apache2.2.6 + Eclipse version control environment
2008-05-16 08:12:34 Source: Author: [Big Middle Small】 Comments: 2 Hits:

We had previously been used as a local version control system cvs, heard of svn, but has been less concerned about it, because I need the function cvs can do, why should their torment yourself? Until one day, I found the file on SuSe and then submitted extracted version is inconsistent even when I decided that the move to svn environment.

1 Download svn-1.4.6, http://subversion.tigris.org/files/documents/15/41077/svn-win32-1.4.6.zip

2 Download apache-2.2.6, http://archive.apache.org/dist/httpd/binaries/win32/apache_2.2.6-win32-x86-openssl-0.9.8e.msi

3 to install apache to C: \ Program Files \ Apache Software Foundation \ Apache2.2

4. Extract svn-win32-1.4.6.zip to C: \ svn-1.4.6, copy intl3_svn.dll, libdb44.dll to C: \ Program Files \ Apache Software Foundation \ Apache2.2 \ bin; copy mod_authz_svn . so, mod_dav_svn.so to C: \ Program Files \ Apache Software Foundation \ Apache2.2 \ modules

5 Set the PATH environment variable, add C: \ svn-1.4.6 \ bin

6. Create svn repository root path C: \ svnroot, create a resource library
C: \> svnadmin create C: \ svnroot \ repos

7 Modify C: \ Program Files \ Apache Software Foundation \ Apache2.2 \ conf \ httpd.conf
# Open the DAV remove the shield, as follows:
LoadModule dav_module modules / mod_dav.so
LoadModule dav_fs_module modules / mod_dav_fs.so
Also add the following two lines:
LoadModule dav_svn_module modules / mod_dav_svn.so
LoadModule authz_svn_module modules / mod_authz_svn.so

8. Create a user authentication password
C: \ Program Files \ Apache Software Foundation \ Apache2.2 \ bin> htpasswd-c passwd allen
Allen is the only user of them myself, 2 After entering the password, generate the passwd file. Note that access control, probably because of insufficient permissions to read and write, can not be generated.
Copy passwd to C: \ Program Files \ Apache Software Foundation \ Apache2.2 \ conf \ svn.passwd
(In fact, with svn.passwd passwd is the same, svn.passwd name can easily change, but here the author's habit of writing in accordance with it, the same below)
9. Write access control file, I do not care about this file, just copy one of the following:
[Groups]
root = allen

[/]
@ Root = rw

Access to copy the file C: \ Program Files \ Apache Software Foundation \ Apache2.2 \ conf \ svn.access

10 In httpd.conf add the following at the end of
<Location /svn>
DAV svn
SVNParentPath C: / svnroot
AuthType Basic
AuthName "Subversion repositories"
AuthzSVNAccessFile "C: / Program Files / Apache Software Foundation/Apache2.2/conf/svn.access"
AuthUserFile "C: / Program Files / Apache Software Foundation/Apache2.2/conf/svn.passwd"
Require valid-user
</ Location>

11 with the Windows service management tool, restart Apache2.2 service. In the browser by typing http://localhost/svn/repos, testing svn service that they have not configured successfully. If successful, it should be little to celebrate

12 Open Eclipse, install Subeclipse svn plugin.
Help-> Software Updates-> Find and Install-> Search for new features to install-> Next-> New Remote Site, enter
Name: Subclipse
URL: http://subclipse.tigris.org/update
Click Finish, and then download, then all the way to installation, restart Eclipse

13 Configuring Eclipse svn, Windows-> Preferences-> Team-> SVN, the SVN interface to set JavaSVN

14 Create a new Java project, then right-Team-> Share Project-> SVN
URL: http://localhost/svn/repos
Version control can be carried out

This article comes from CSDN blog, reproduced, please indicate the source: http://blog.csdn.net/hp9016/archive/2008/11/07/3245349.aspx

相关文章
  • svn-1.4.6 + Apache2.2.6 + Eclipse version control (turn) 2010-05-29

    http://blog.csdn.net/hp9016/archive/2008/11/07/3245349.aspx For 1.4.0 the svn, only with Apache 2.0 Otherwise, Apache will not start service from http://www.svn8.com/svnpz/20080516/604.htm Windows to configure and use svn-1.4.6 + Apache2.2.6 + Eclips

  • svn-1.4.6 + Apache2.2.6 + Eclipse version control (switch) 2010-05-29

    http://blog.csdn.net/hp9016/archive/2008/11/07/3245349.aspx For 1.4.0 the svn, only with Apache 2.0 Otherwise Apache will not start service from http://www.svn8.com/svnpz/20080516/604.htm Windows to configure and use svn-1.4.6 + Apache2.2.6 + Eclipse

  • Version control tools on Eclipse 2011-02-09

    Eclipse version control tools on a variety of plug-ins. 1. CVS This is the Eclipse built-in, no need to install. http://www.eclipse.org/eclipse/platform-cvs/ 2. SVN plugin - Subclipse http://subclipse.tigris.org/ 3. GIT plugin - EGit http://www.eclip

  • Eclipse, SVN version control plug-in installation and use of 2011-05-03

    Previously mentioned SVN version control and client installation and configuration, here again talking about the compiler how to use SVN, so that it can be used alone, can also be used in conjunction with the SVN client. Since the compiler many types

  • svn的使用(自己搭建服务器+使用eclipse的svn插件) 2012-11-05

    用eclipse本身的svn插件+svn statio服务器,我前几天需要自己装一个服务器,用到了,下面我把详细步骤分享给大家 1.下载eclipse中svn插件(网上有很多,需要的亲们自己下载) 2.在eclipse中安装刚刚下载的svn插件,help ---> install new software,如图所示: 图一: 图二: 3.下载svn服务端,设置下端口,添加用户,配置权限就完了,步骤如图所示: 图三: 双击安装这个svn服务器软件,到达如下界面 图四: 这个是安装好的服务器界面,

  • ignore eclipse settings files under version control (svn: ignored) 2011-01-12

    Some of the file in the project is not necessary to add to version control, such as: We can svn: ignored to make svn ignore them Svn properties in the project after next will see: Resynchronization following items will find conflict, and then update

  • SVN and CVS version control tool 2010-06-11

    CVS I believe we have heard, but the widely used version control tools are still many issues, including Chinese language support and the binaries are more or less deal with the problem. Well now, CVS's writer for us to develop a SVN. Gnome and KDE de

  • struts + hibernate + spring svn version control of the URL address [transfer] 2010-12-29

    struts+hibernate+spring Version control with svn URL Address [ Go ] 2007-08-09 16:04 struts+hibernate+spring Version control with svn URL Address Transfers from :http://hi.baidu.com/eako/blog/item/2b33a686d36acf3e66096e1d.html =================== Str

  • SVN and CVS version control tools 2010-06-11

    CVS I believe we have heard, but the widely used version control tools, there are many issues, including Chinese language support and the handling of binary files are more or less problems. Well now, CVS, author and for us to develop the SVN. Gnome a

  • ------- SVN SVN version control server-side installation and configuration (turn, modified) 2011-03-21

    Source: Subversion Chinese Station How to quickly build a Subversion server, and use in the project, which is our greatest concern, compared with CVS, Subversion have more choices, more easy, a few commands you can set up a server environment, you ca

  • Free SVN version control server, collect, treasure it quickly 2010-03-26

    Domestic: http://www.coollittlethings.com/ Only need to register to use, very fast, using http for transport, no web management. Overseas: http://code.google.com/hosting/ google provided faster, applications can use, use https for transport, security

  • Google project hosting the SVN version control with MyEclipse 2010-03-19

    Not long ago, one year of an ERP system development, architecture Spring2.5 + Struts1.2 + Hibernate3.0 + DWR + JFreeChat, development tools MyEclipse7.5, of course, SVN version control tool, and SVN, but here as MyEclipse plug-in use. Our projects ho

  • [Version Control] svn command-line notes 2010-06-20

    svn command-line operation 1.svn update update (abbreviated up) svn update-r 500 test.java (the version of the library files test.java revert to version 500) 2.svn commit-m "u" (abbreviated ci) Documents submitted to change 3. View the file info

  • svn version control study 2010-07-13

    svn principle: 1. Version control allows you to have the ability to run the risk of the past would have been unthinkable. If you where wrong, you can always make your own code back to a known, working normal version. You can not touch the trunk of th

  • SVN version control server and client installation tutorial 2010-07-19

    ps: some problems really hard to find a sub to ah Recently done with svn under. Net version control program. Found some problems. 1. Basic installation process? First need to download the latest server version and client version. Windows on the clien

  • eclipse how to turn the project into a dynamic web project 2010-08-27

    eclipse how to turn the project into a dynamic web project 1, from java project to a dynamic web project 1, open the project root directory. Project 2, an increase in buildSpec node: Xml Code 1. < buildCommand > 2. < name > org.eclipse.wst.com

  • SVN server build with GoogleCode version control of project 2010-11-17

    Speaking of source code management, CVS, VSS, SVN, TFS everyone in the company may have used more of. But the basic environment in the company are in line or LAN connection to the remote server to use. Usually some of their friends at home and write

  • Version control tool SVN, GIT, HG 2011-04-13

    SVN, HG, GIT command control SVN, HG, GIT are three common version control system, this article lists some simple commands similar to the operation. Of course, the three systems have different features, there is no strict correspondence between the.

  • Clear SVN version control 2011-09-17

    @echo On @Rem Delete SVN version control directory @PROMPT [Com] @for /r . %%a in (.) do @if exist "%%a\.svn" rd /s /q "%%a\.svn" @Rem for /r . %%a in (.) do @if exist "%%a\.svn" @echo "%%a\.svn" @echo Mission Compl

  • SVN user name or remember to cancel Eclipse svn commit code to modify the user name 2011-04-20

    Good project in Eclipse to modify the code to be submitted to the svn up, do not want to default user name is submitted, submit the code to modify the user name, but the original user has been set as the default user submitted, and that is to remembe