How to use and set SVN proxy in Eclipse/myeclipse

Source: Internet
Author: User
Tags svn client tortoisesvn

Explanation 1:

This section briefly introduces the svn proxy issue. This section mainly describes two aspects. Here we will share with you some of them. You are welcome to learn about SVN proxy together. Next, let's take a look at the problem of using SVN through proxy in Eclipse/myeclipse.

Use SVN through proxy in Eclipse/myeclipse
Sometimes we encounter the need to set up a proxy, and then obtain the source code through SVN. Let's take a look at how to set it:
1. Find the servers file under the directory c:/documentsandsettings/yourusername/applicationdata/subversion, open it in any text editor, and find the text similar to the following:
[Global]
# Http-proxy-Exceptions = * .exception.com, www.internal-site.org
# Http-proxy-host = proxy2.some-domain-name.com
# Http-proxy-Port = 9000
# Http-proxy-username = DefaultUserName
Set # http-proxy-host
# Remove the # sign before http-proxy-port and change the value on the right of "=" to your proxy server address and port number respectively.
2. Set Eclipse/myeclipse and confirm that the svn client is svnkit: in this way, you can use SVN through proxy in Eclipse/myeclipse.
Use SVN proxy
I used to use the svn service in the LAN and can connect directly. Now I need to use the svn service on the Internet to have a problem, and the company must use the proxy server to connect to the outside, you need to set up the svn client.
Take the root user as an example:
Modify the/root/. Subversion/servers file and add the following:
[Global]
HTTP-proxy-host = 43.82.54.5
HTTP-proxy-Port = 8080
HTTP-proxy-username = Barry
HTTP-proxy-Password = Barry
HTTP-compression = No
Note: Only SVN that can be connected to HTTP, such as repository.
Set SVN proxy method
Find the [Global] node in the server configuration file C:/documentsandsettings/Administrator/applicationdata/subversion.
Then add
HTTP-proxy-host = 192.168.0.1 proxy IP
HTTP-proxy-Port = 8080svn Port
HTTP-proxy-username = haoxwsvn Username
HTTP-proxy-Password = haoxw12svn password.

Explanation 2:

Client:

1. first obtain the plug-in subclipse and put it in the root directory of the myeclipse folder.
2. Open eclipse-> links under myeclipse and write the svn. Link file. The content is similar to the content in the same directory. For example, the content of the first com. genuitec. Eclipse. myeclipse. Link is
Path = D: // myeclipse. link content is as follows: Path = D: // myeclipse // subclipse, but the last plug-in is different.
3. start myeclipse. There is an icon named open perspective in the upper-right corner. Click-> others. If your plug-in is correctly installed, a SVN repository indexing icon is displayed. Double-click this icon, right-click SVN repository on the left-side and choose new> repository location. Enter the address you want to connect to, for example, SVN: // 219.217.45.243/web1. Click Finish.
4. Click + in front of the created location. If the address is correct, you can see that the server shares the project in SVN. Right-click the project and check out the project.
5. In the open perspective in the upper-right corner, find myeclipse Java Enterprise (default) and double-click it, so that you can see that the project has been detected locally.

Server:
1.install svn-1.4.6-setup.exe and the TortoiseSVN-1.4.8.12137-win32-svn-1.4.6.msi, both versions are no problem
2. After installing and restarting the computer, right-click somewhere. If SVN options are available, the installation is correct.
3. Create a SVN database. First, assume that you create a folder named SVN under drive g, and then create a folder in the folder, for example, web1. Open web1, folder, right-click
-> Tortoisesvn-> Create repository here-> finish. At this time, you will see that there are new items in the folder, OK, and succeeded.
4. compile the svn batch file. bat example: svnserve-d-r G: SVN note: the name of the first folder you created is followed by the name of the folder you created. After writing the name, put it on the desktop and double-click it to start it.
5. Find the project you want to share under myeclipse, right-click team-> share, select SVN, and enter the user name and password.
6. Of course, pay attention to the files in conf in web1.

Related Article

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.