Difference: YingYin (1 vs. 12)

Revision 122007-06-17 - TWikiGuest

Line: 1 to 1
 
META TOPICPARENT name="TWikiUsers"
Line: 24 to 24
 
  • Choose "Use an existing module"
  • Select a module (schedulingProblem). Don't select CVSROOT. Then click Next until Finish.
  • Only need to check out a project once
Added:
>
>
  • Note: the Java compiler compliance for the project is Java 6.0
  Normal Usage after Checking out the Project

Revision 112007-06-14 - TWikiGuest

Line: 1 to 1
 
META TOPICPARENT name="TWikiUsers"
Line: 31 to 31
 
  • Commit--once you have modified a project, you can check it back in
  • Synchronise with repository--used for synchronising your project version with CVS
  • The screen will look like the one in screen shot→(see attachment team.gif)
Added:
>
>
  • Before making changes to the code, it is good to synchronise with the repository first.
  For sharing project, adding a new project to repository
  1. Create/Use existing project, and right click on the project name
Line: 58 to 59
  $ cvs -d /ubc/cs/home/y/yingyin/GanttChart <command>
Changed:
<
<
You can also change the environment variable CVSROOT to avoid typing -d <repository location>:
>
>
You can also change the environment variable CVSROOT to avoid typing -d <repository path>:
 
  • edit ~/csh_init/environment with a text editor
  • add the following line:
Changed:
<
<
setenv CVSROOT <repository location>
>
>
setenv CVSROOT <repository path>
 
  • logout and log back in.
Added:
>
>
To remotely access the repository, specify a remote repository as opposed to a local one, which means using a longer repository path. You first name the access method, delimited on each side by colons, followed by the username and the server name (joined with an @ sign), another separator colon, and finally the path to the repository directory on the server.

CVS supports the ext method (which uses an external connection program, such as rsh or ssh)which is probably the most commonly used. So on the client machine:

$ setenv CVS_RSH ssh; export CVS_RSH

$ cvs -d :ext:jrandom@cascade.cs.ubc.ca:<repository path> <command>

The first line sets the CVS_RSH environment variable to ssh, which tells CVS to use the ssh program to connect. The second line can be any CVS command; you will be prompted for your password so CVS can log into the server.

The rest of the examples assumes that you've set CVSROOT to point to your repository, so they will not show the -d option. If you need to access many different repositories, you should not set CVSROOT and should just use -d <repository path> when you need to specify the repository.

 Some useful links on CVS

Revision 102007-06-14 - TWikiGuest

Line: 1 to 1
 
META TOPICPARENT name="TWikiUsers"
Line: 7 to 7
 

Setting Up and Using CVS

Changed:
<
<
You can access CVS repository in many ways. If you use Eclipse IDE (http://www.eclipse.org) then:
>
>
You can access CVS repository in many ways.

For Eclipse IDE (http://www.eclipse.org):

  For checking out project
  • Click File → new → project → CVS → Checkout Projects from CVS
Line: 38 to 40
 
  1. Fill in the repository location information as menstioned above
  2. Don't put project under CVSROOT directory

Added:
>
>

For Unix Commands:

Invoking CVS

The format of a CVS invocation is:

$ cvs <command>

where command can be: update, commit, import etc. For example, you can use

$ cvs update

Accessing A Repository

Before you can do anything, you must tell CVS the location of the repository you'll be accessing. This isn't a concern if you already have a working copy checked out - any working copy knows what repository it came from, so CVS can automatically deduce the repository for a given working copy. So for the first time, you need to tell CVS explicitly where to go. This is done with the -d global option followed by the path to the repository. For example:

$ cvs -d /ubc/cs/home/y/yingyin/GanttChart <command>

You can also change the environment variable CVSROOT to avoid typing -d <repository location>:

  • edit ~/csh_init/environment with a text editor
  • add the following line: setenv CVSROOT <repository location>
  • logout and log back in.
 Some useful links on CVS

Revision 92007-06-14 - TWikiGuest

Line: 1 to 1
 
META TOPICPARENT name="TWikiUsers"
Changed:
<
<

Setting Up CVS

>
>

Setting Up and Using CVS

  You can access CVS repository in many ways. If you use Eclipse IDE (http://www.eclipse.org) then:

For checking out project

Changed:
<
<
  • Click new → project → CVS → Checkout Projects from CVS
>
>
  • Click File → new → project → CVS → Checkout Projects from CVS
 
  • If you're running it the first time a setup window will pop up. Select Create a new repository location
Deleted:
<
<
  • The screen will look like the one in screen shot→(see attachment team.gif)
 
  • These are the information needed to fill in the Repository Location Information form:
    1. enter the host: cascade.cs.ubc.ca
    2. repository path: /ubc/cs/home/y/yingyin/GanttChart
Line: 20 to 19
 
    1. your CS password
    2. select connection type as "extssh" and use default port
    3. click Finish
Added:
>
>
  • Choose "Use an existing module"
  • Select a module (schedulingProblem). Don't select CVSROOT. Then click Next until Finish.
 
  • Only need to check out a project once
Added:
>
>
Normal Usage after Checking out the Project

Right click on the project and choose Team, then

  • Commit--once you have modified a project, you can check it back in
  • Synchronise with repository--used for synchronising your project version with CVS
  • The screen will look like the one in screen shot→(see attachment team.gif)
 For sharing project, adding a new project to repository
  1. Create/Use existing project, and right click on the project name
  2. Select Team > Share Project
  3. Choose CVS as the repository type and then click Next
  4. Select "Create a new repository location"
  5. Fill in the repository location information as menstioned above
Changed:
<
<
Normal Usage
  • commit--once you have checked out and modified a project, you can check it back in
  • Synchronise with repository--used for synchronising your project version with CVS

>
>
  1. Don't put project under CVSROOT directory
  Some useful links on CVS
Added:
>
>
  • Also see Eclipse help on CVS
  Setting File Permission
  • setfacl

Revision 82007-06-13 - TWikiGuest

Line: 1 to 1
 
META TOPICPARENT name="TWikiUsers"
Line: 13 to 13
 
  • Click new → project → CVS → Checkout Projects from CVS
  • If you're running it the first time a setup window will pop up. Select Create a new repository location
  • The screen will look like the one in screen shot→(see attachment team.gif)
Added:
>
>
  • These are the information needed to fill in the Repository Location Information form:
 
    1. enter the host: cascade.cs.ubc.ca
Changed:
<
<
    1. repository path (location)
>
>
    1. repository path: /ubc/cs/home/y/yingyin/GanttChart
 
    1. your CS Unix userid
    2. your CS password
Changed:
<
<
    1. select connection type as extssh
>
>
    1. select connection type as "extssh" and use default port
 
    1. click Finish
  • Only need to check out a project once

For sharing project, adding a new project to repository

  1. Create/Use existing project, and right click on the project name
Changed:
<
<
  1. Select team
  2. you have the following options:
    • share--first time, add a new project to repository
>
>
  1. Select Team > Share Project
  2. Choose CVS as the repository type and then click Next
  3. Select "Create a new repository location"
  4. Fill in the repository location information as menstioned above

Normal Usage

 
    • commit--once you have checked out and modified a project, you can check it back in
    • Synchronise with repository--used for synchronising your project version with CVS
Changed:
<
<
  1. Select share and then choose CVS
>
>
  Some useful links on CVS

Revision 72007-06-12 - TWikiGuest

Line: 1 to 1
 
META TOPICPARENT name="TWikiUsers"
Changed:
<
<
Setting Up CVS
>
>

Setting Up CVS

  You can access CVS repository in many ways. If you use Eclipse IDE (http://www.eclipse.org) then:
Line: 30 to 30
 
    • Synchronise with repository--used for synchronising your project version with CVS
  1. Select share and then choose CVS
Added:
>
>
Some useful links on CVS
 Setting File Permission
  • setfacl

Revision 62007-06-12 - TWikiGuest

Line: 1 to 1
 
META TOPICPARENT name="TWikiUsers"
Line: 9 to 9
  You can access CVS repository in many ways. If you use Eclipse IDE (http://www.eclipse.org) then:
Added:
>
>
For checking out project
 
  • Click new → project → CVS → Checkout Projects from CVS
  • If you're running it the first time a setup window will pop up. Select Create a new repository location
  • The screen will look like the one in screen shot→(see attachment team.gif)
Changed:
<
<
    1. enter the host bowen.ugrad.cs.ubc.ca
>
>
    1. enter the host: cascade.cs.ubc.ca
 
    1. repository path (location)
Changed:
<
<
    1. your CS Unix userid (ex e6v3)
>
>
    1. your CS Unix userid
 
    1. your CS password
    2. select connection type as extssh
    3. click Finish
Changed:
<
<
  • To use CVS in Eclipse
    1. Create/Use in existing project, and right click on the project name
>
>
  • Only need to check out a project once

For sharing project, adding a new project to repository

  1. Create/Use existing project, and right click on the project name
 
    1. Select team
    2. you have the following options:
      • share--first time, add a new project to repository
      • commit--once you have checked out and modified a project, you can check it back in
      • Synchronise with repository--used for synchronising your project version with CVS
Added:
>
>
  1. Select share and then choose CVS
  Setting File Permission
  • setfacl

Revision 52007-06-09 - TWikiGuest

Line: 1 to 1
 
META TOPICPARENT name="TWikiUsers"
Line: 11 to 11
 
  • Click new → project → CVS → Checkout Projects from CVS
  • If you're running it the first time a setup window will pop up. Select Create a new repository location
Changed:
<
<
  • The screen will look like the one in screen shot→
>
>
  • The screen will look like the one in screen shot→(see attachment team.gif)
 
    1. enter the host bowen.ugrad.cs.ubc.ca
    2. repository path (location)
    3. your CS Unix userid (ex e6v3)
Line: 26 to 26
 
      • commit--once you have checked out and modified a project, you can check it back in
      • Synchronise with repository--used for synchronising your project version with CVS
Added:
>
>
Setting File Permission
  • setfacl
  My Links

Revision 42007-05-29 - TWikiGuest

Line: 1 to 1
 
META TOPICPARENT name="TWikiUsers"
Changed:
<
<
Setting up CVS
>
>
Setting Up CVS
  You can access CVS repository in many ways. If you use Eclipse IDE (http://www.eclipse.org) then:

Revision 32007-05-29 - ClevershadowhotmailCom

Line: 1 to 1
 
META TOPICPARENT name="TWikiUsers"
Deleted:
<
<
  • Company URL:
 
  • Country: Canada
Changed:
<
<
  • Comment:
>
>
Setting up CVS

You can access CVS repository in many ways. If you use Eclipse IDE (http://www.eclipse.org) then:

  • Click new → project → CVS → Checkout Projects from CVS
  • If you're running it the first time a setup window will pop up. Select Create a new repository location
  • The screen will look like the one in screen shot→
    1. enter the host bowen.ugrad.cs.ubc.ca
    2. repository path (location)
    3. your CS Unix userid (ex e6v3)
    4. your CS password
    5. select connection type as extssh
    6. click Finish
  • To use CVS in Eclipse
    1. Create/Use in existing project, and right click on the project name
    2. Select team
    3. you have the following options:
      • share--first time, add a new project to repository
      • commit--once you have checked out and modified a project, you can check it back in
      • Synchronise with repository--used for synchronising your project version with CVS
  My Links
Changed:
<
<
>
>
  Personal Preferences (details in TWikiVariables)
Line: 32 to 51
 
Added:
>
>
META FILEATTACHMENT attr="" comment="" date="1180397897" name="team.gif" path="team.gif" size="22992" user="clevershadow@hotmail.com" version="1.1"

Revision 22007-05-28 - ClevershadowhotmailCom

Line: 1 to 1
 
META TOPICPARENT name="TWikiUsers"
Deleted:
<
<
 

Revision 12007-05-24 - TWikiGuest

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="TWikiUsers"

My Links

Personal Preferences (details in TWikiVariables)

  • Show tool-tip topic info on mouse-over of WikiWord links, on or off: (see details in TWikiPreferences)
    • Set LINKTOOLTIPINFO = off
  • Horizontal size of text edit box:
    • Set EDITBOXWIDTH = 70
  • Vertical size of text edit box:
    • Set EDITBOXHEIGHT = 22
  • Style of text edit box. width: 99% for full window width (default), width: auto to disable.
    • Set EDITBOXSTYLE = width: 99%
  • Optionally write protect your home page: (set it to your WikiName)
    • Set ALLOWTOPICCHANGE =

Related topics

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback