The svn local project in eclipse is associated with the server project

1. Right-click on the project;
2. Team->Share Project->Svn
3. Select [Use the specified module name], click Browse, and select the matching project in the resource library.

Pay special attention to this place. Do not select the wrong directory. Choosing the wrong one is equivalent to vain.

Note: The selected directory can be seen as the root directory. Then the contents of this root directory will be copied to the local project.

If the path on the server is: https://10.10.10.240:8443/projects/ElasticSearch,

then there will be two directories in this directory, one is src and the other is hyundai. In this way, there will be two Hyundai, I panicked. Don't know which to choose. In fact, it is very simple, this address https://10.10.10.240:8443/projects/ElasticSearch can be regarded as the root directory, and then the following subdirectories can just be copied to the local project.

So so you can understand, that's right!

4. Then click Next, it will prompt "Folder {0} already exists in the resource library, ****", don't worry, just click OK.

5. Just follow the prompts step by step.

-------------------------------------------------- -------------------------------

Check the information online. After installing the SVN plug-in, the efficiency will be somewhat reduced. You can also directly use the folder management method to control the version.

The steps are as follows:
1. Create a new folder locally, assuming d:\projects\ES
2. Right-click on apple, select ToroiseSVN->report-browser, select the root directory corresponding to SVN, and click OK.
3. Right-click on apple and select Update. Here, pay attention to whether the directory in the URL is what you need. If it is correct, click OK to download the content on the server to the local.
4. In eclipse, switch the workspace to d:\projects in advance, then create a new java project, name the word ES, at this time a miracle happens, and the contents in the previous folder will be automatically mapped to this java project It's much better than the previous manual copy.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326400736&siteId=291194637