Difference between revisions of "Development and submission steps using SVN - OOP344 20111"

From CDOT Wiki
Jump to: navigation, search
(Create your workspace)
(branch the trunk for development)
Line 15: Line 15:
 
*: how to do goes here
 
*: how to do goes here
 
* update your repository to get the branch on your local machine
 
* update your repository to get the branch on your local machine
 +
== start coding and complete the task==
 +
# code
 +
# compile
 +
# test
 +
# compile
 +
# commit (commit changes back to repo on server)
 +
== merge the branch back to trunk==
 +
# make sure branch is commited
 +
# right click on trunk and select TortoiseSVN/merge
 +
# select your branch
 +
# merge by default settings and resolve possible conficts
 +
== Test and commit trunk ==
 +
# recompile and test merged trunk
 +
# update trunk status on wiki team page to  '''commiting'''
 +
#: if the status is already commiting wait for it to be done
 +
# commit trunk
 +
# resolve possible problems
 +
# commit again
 +
# update trunk status on wiki team page to ''' commited'''
  
 
== Resources ==
 
== Resources ==
 
* [[Hints for Using SVN to collaborate on school projects]]
 
* [[Hints for Using SVN to collaborate on school projects]]

Revision as of 10:31, 28 January 2011


OOP344 | Weekly Schedule | Student List | Teams | Project | Student Resources

Checkout team repository

  1. create a directory on the local machine (this happens usually only once on each workstation for development)
  2. checkout the repository into the directory
    using GUI (TortoiseSVN) right click on the directory and select SVN Checkout
    by doing this you have a copy of the whole repo on your computer.

Create your workspace

  1. create a directory in branches using your seneca id
    add this directory to the repository (right click on the dir and select TortoiseSVN/add)
    commit this dir to repo so it will be saved on the server (right click on the dir and select SVN Commit
    note that this dir is referred as your workspace

branch the trunk for development

  • branch the trunk into a dir under your workspace in brnaches
    how to do goes here
  • update your repository to get the branch on your local machine

start coding and complete the task

  1. code
  2. compile
  3. test
  4. compile
  5. commit (commit changes back to repo on server)

merge the branch back to trunk

  1. make sure branch is commited
  2. right click on trunk and select TortoiseSVN/merge
  3. select your branch
  4. merge by default settings and resolve possible conficts

Test and commit trunk

  1. recompile and test merged trunk
  2. update trunk status on wiki team page to commiting
    if the status is already commiting wait for it to be done
  3. commit trunk
  4. resolve possible problems
  5. commit again
  6. update trunk status on wiki team page to commited

Resources