现在的位置: 首页 > 综合 > 正文

Google 源代码服务器配置教程

2013年04月26日 ⁄ 综合 ⁄ 共 2976字 ⁄ 字号 评论关闭

 

Oceanworkroom Development Environment Setup

 

1. Install Visual Studio 2008 (VSTS) and Visual Studio 2008 SP1

 

2. Install TortoiseSVN

 

http://tortoisesvn.net/downloads

It requires restarting your operating system after the setup.

 

3. Create a folder for the project

 

For example, D:\SVN\Oceanworkroom

 

4. Check out the project to the folder

 


 

Enter https://oceanworkroomteamsit.googlecode.com/svn/trunk/ in “URL of repository”.

 

 

 

Enter username (Prefix parts of Gmail, for example, oceanworkroom@gmail, username is oceanworkroom) and password. [Get password]

 

And click OK.

 

 

To know how to get password, please click the following link, type your Gmail name and password,

http://code.google.com/hosting/settings

See the below illustration,

If you want to change the password, please click “Regenerate”.

 

 

Install AnkhSvn,

http://ankhsvn.open.collab.net/servlets/ProjectProcess?pageID=3794

 

Installation (2.1)

  • Download AnkhSVN from one of the above download links.

  • Run the AnkhSVN installer package (It automatically updates any previous versions)

Start using AnkhSVN from Visual Studio

Using an existing solution with AnkhSVN 2.1

  • Open your solution

  • If you are the first AnkhSVN 2.1 user of this solution

    • If glyphs do not appear automatically choose Tools -> Options -> Source Control and make sure AnkhSVN is the active source control provider.

  • Verify if the solution is connected to AnkhSVN

    • Right click the solution file. If you have an option that says 'Add to Subversion', your Solution is not connected yet

    • Click Add to Subversion and confirm adding the binding

    • If your project is not in an existing workingcopy you are now asked where to store your project

  • If some of the projects do not show glyphs

    • Check if the projects are connected in File -> Subversion -> Change Source Control

    • Make sure that at least the Solution and the projects missing glyphs are connected
      (Many project types do not require explicit binding)

Check out a Solution from Subversion

Using Open from Subversion

  • Select File -> Open -> Subversion Project

  • Choose a Url from the dropdown or click the globe icon to add a url

  • Browse to the solution of your choice

  • Click OK

  • In the next dialog select a local folder to store the project

  • Click OK and the solution will open automatically

Via the Repository Explorer 

  • Select View -> Repository Explorer.

  • When the tool window appears, choose the Plus-Folder icon to add your repository path and click OK.

  • Browse to the solution you would like to check out, right-click and choose Checkout Folder.

  • Browse to the location where you keep your working copy and press OK (you may need to create a directory first).

  • Open the solution inside Visual Studio. You will be asked whether to enable AnkhSVN for this solution, choose Yes.

Starting a new repository

  • Create a Subversion repository either by using the SVN command line tools or TortoiseSVN. The command line syntax is:

  • svnadmin create C:\myrepos

  • Open the solution you wish to check-in.

  • Choose View -> Solution Explorer from the Visual Studio menu.

  • From the right click menu select Ankh -> Add solution to Subversion repository.

  • Add the URL to your Subversion repository, in this example it is "file:///c:/myrepos." Note that you may want to check the box to create a new directory if you want to "import" something directly into an existing directory (specified by the URL) or a new subdirectory.

  • Once complete, you should now see green check-marks alongside items in the Solution Explorer window.

 

See the illustration,

 

Author : Ocean workroom

 

抱歉!评论已关闭.