VSS configuration in eclipse

Source: Internet
Author: User

1.1 configure VSS in Eclipse
Install the VSS plug-in org.vssplugin_1.6.1.zip in eclipse. Can this plug-in replicate the download http://downloads.sourceforge.net/vssplugin/org.vssplugin_1.6.1.zip with the following address? Modtime = 1119297335 & big_mirror = 0. After the download, read the following tutorial and create a directory, for example, D:/Eclipse/mypluins/vssplugin_1.6.1/Eclipse/plugins/org. vssplugin_1.6.1.

Decompress the compressed package. Note: D:/Eclipse/mypluins/vssplugin_1.6.1/Eclipse/plugins/org. vssplugin_1.6.1 is a file in this directory. Do not make a mistake and create a file. All the names can be: for example, "vssplugin. link is put in the links directory under the eclipse directory, no ?, You have created one. The file content is as follows:
Path = D: // eclipse // mypluins // vssplugin_1.6.1 and restart eclipse. In this way, you can directly integrate eclipse with VSS.

Configuration steps:
Step 1: select the project instantmsg, right-click the project, and select team-share project ....

 

Step 2: Select VSS Configuration Wizard in the following dialog box and click "next>.

 

Step 3: Enter the user name and password assigned by the VSS administrator:

 

Username: Your VSS account name
Password: Your VSS account password
VSS Directory: directory of the VSS Server
Source dir: select the project you want to share
Relative mountpoint: directory to which the project will be shared to VSS

Step 4: Click Browse… After VSS directory... Find the shared folder instantmsg where the VSS server is located from the network neighbor, and then click "OK ".

 

Step 5: Click source dir... Browse... Click, select the folder where the project source file is located, and click OK ".

 

Step 6: click "Browse…" after "relative mountpoint ..." Click, select the project folder instantmsg:, and then click OK ".

 

Step 7: click "finish" to complete the configuration.

 

Step 8: select the project instantmsg, right-click, and select team-Refresh.

 

1.2 How to Use VSS in Eclipse

1. Refresh before synchronizing data between eclipse and the VSS server. Otherwise, synchronization errors may occur because the files edited outside eclipse are not refreshed in eclipse, you can set eclipse to automatic refresh. the operation method is window-> preferences-> General-> workspace. Select refresh workspace automatically. Even so, there may still be problems, because the eclipse refresh may be delayed, so when an error is reported, refresh it manually and then synchronize.

 

2,Before leaving the company,Commit Changes"All files, Refresh after workAll files:
Right-click the project name instantmsg in the project column on the left, and select team-check in or Commit Changes.

 

 

3. before modifying a file, Get Latest Version to make the Version as new as possible. Once a conflict occurs, the workload for resolving the file will be relatively small.For files that are commonly used and modified, suchWeb. xmlStruts-config.xmlFiles such as files, but also often get the latest version before modification, it is best to notify other personnel Commit.
Find the struts-config.xml or web. xml in the left-side InstantMsg project navigation bar, right-click the file, and choose Team-à Get Latest Version:

4. In case of file conflicts, you should first compare and update the modifications on the server to the local device. If you are not clear about the Changes, you must communicate with others. After the merge, select Commit Changes for updates, do not perform the Commit Changes operation if a problem occurs!

5. VSS does not allow you to delete server files. Therefore, you are advised not to submit temporary files and temporary directories, such as files and directories generated by compilation.

6. Files of different functional modules are separated by Commit, and files of the same functional module are Commit once, which is helpful for analyzing errors, reducing conflicts, and version rollback.

7. The submitted files must be tested. At least the files can be compiled locally for testing by others.

8. Do not add VSS to the graph files and classes directories.

 

 

From: http://hi.baidu.com/darmn/blog/item/f6ce372fbe5fc73f1e308976.html

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.