Wamp2 + SVN + Eclipse Configuration

Source: Internet
Author: User

Prepare wamp2 svn-1.4.6, tortoisesvn-1.4.8, languagepack-1.4.8.12137-win32-zh_cn.exe

1. Install wamp2
2. Install tortoisesvn-1.4.8restart and install the Chinese package languagepack-1.4.8.12137-win32-zh_cn.exe
3. Create a svn folder on drive D (svn folder can be located at will, not necessarily drive d). Create a folder on the folder www and right-click here to create a version library.

4. Decompress svn-win32-1.4.6.zip to C: svn-1.4.6, copy intl3_svn.dll, libdb44.dll to the bin directory of Apache;
Copy mod_authz_svn.so and mod_dav_svn.so to the modules directory of Apache.

5. Modify apache httpd. conf

Remove # enable DAV blocking. The content is as follows:
LoadModule dav_module modules/mod_dav.so
LoadModule dav_fs_module modules/mod_dav_fs.so

Add two rows below:

LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so

6. Create a user verification Password

Go to the dos directory to go to the bin directory of apache (several commonly used doscommands cd... are returned to the first two levels of directories dir is the display directory c:> f: To enter the f Disk
Copy passwd: copy the password to disk d)

Htpasswd-c passwd admin

Here, admin is the only user myself. After two passwords are entered, the passwd file is generated.

Copy the password to drive d passwd:

Change D disk svn/www/conf/passwd
### This file is an example password file for svnserve.
### Its format is similar to that of svnserve. conf. As shown in
### Example below it contains one section labeled [users].
### The name and password for each user follow, one account per line.
[Users]
# Harry = harryssecret
# Sally = sallyssecret
Admin= 123
Change D disk svn/www/conf/authz
### This file is an example authorization file for svnserve.
### Its format is identical to that of mod_authz_svn authorization
### Files.
### As shown below each section defines authorizations for the path and
### (Optional) repository specified by the section name.
### The authorizations follow. An authorization line can refer to
### Single user, to a group of users defined in a special [groups]
### Section, or to anyone using the * wildcard. Each definition can
### Grant read (r) access, read-write (rw) access, or no access
###().
[Groups]
# Harry_and_sally = harry, sally
Group_admin = admin
[/]
@ Group_admin = rw

# [/Foo/bar]
# Harry = rw
# * =
# [Repository:/baz/fuz]
# @ Harry_and_sally = rw
# * = R

8. Add the following content at the end of httpd. conf:

<Location/svn>
DAV svn
SVNParentPath D: SVN
AuthType Basic
AuthName "Subversion repositories"
AuthUserFile D: passwd
# AuthzSVNAccessFile D: svnaccessfile
Require valid-user
</Location>

9. Restart the wamp2 service. Input http: // localhost/svn/www in the browser to test whether the configuration of the svn service is successful .,

Start the svn service and enter the svn bin directory to run SVNService-install-d-r.

10. Open Eclipse and install the Subeclipse svn plug-in.

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, download, install and restart Eclipse.


11. Configure Eclipse svn, Windows-> Preferences-> Team-> SVN, and set the SVN interface to ‑vn.

12. Create a Java Project, right-click Team, and choose Share Project> SVN.

URL: http: // localhost/svn/repos

Enter the user name and password

O

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.