+ All Categories
Home > Documents > 01%(% 23,.-4+5,/-3%,-%51/678%...

01%(% 23,.-4+5,/-3%,-%51/678%...

Date post: 26-Feb-2020
Category:
Upload: others
View: 0 times
Download: 0 times
Share this document with a friend
32
!"#$ &’( ) *+,-./01 ( 23,.-4+5,/-3 ,- "51/678 034 !+951/678 !1/487: *;8-4-.8 <= >811?033 034 @0?/8 !,0.A8
Transcript
Page 1: 01%(% 23,.-4+5,/-3%,-%51/678% 034%!+951/678%pages.cpsc.ucalgary.ca/~sillito/seng-301/labs/tutorial1.pdf · K7/3D%!+951/678%G%H% Help’s response will contain: - the link you’ll

!"#$%&'(%)%*+,-./01%(%23,.-4+5,/-3%,-%"51/678%

034%!+951/678%!1/487:%*;8-4-.8%<=%>811?033%034%%

@0?/8%!,0.A8%

Page 2: 01%(% 23,.-4+5,/-3%,-%51/678% 034%!+951/678%pages.cpsc.ucalgary.ca/~sillito/seng-301/labs/tutorial1.pdf · K7/3D%!+951/678%G%H% Help’s response will contain: - the link you’ll

B5C+/./3D%,;8%!-E,F0.8%G%(%

%G%download “Eclipse Classic” from eclipse.org

- remember it just unzips (no installation)

Page 3: 01%(% 23,.-4+5,/-3%,-%51/678% 034%!+951/678%pages.cpsc.ucalgary.ca/~sillito/seng-301/labs/tutorial1.pdf · K7/3D%!+951/678%G%H% Help’s response will contain: - the link you’ll

B5C+/./3D%,;8%!-E,F0.8%G%H%

!+951/678%

Page 4: 01%(% 23,.-4+5,/-3%,-%51/678% 034%!+951/678%pages.cpsc.ucalgary.ca/~sillito/seng-301/labs/tutorial1.pdf · K7/3D%!+951/678%G%H% Help’s response will contain: - the link you’ll

B5C+/./3D%,;8%!-E,F0.8%G%&%

!+951/678%

Page 5: 01%(% 23,.-4+5,/-3%,-%51/678% 034%!+951/678%pages.cpsc.ucalgary.ca/~sillito/seng-301/labs/tutorial1.pdf · K7/3D%!+951/678%G%H% Help’s response will contain: - the link you’ll

B5C+/./3D%,;8%!-E,F0.8%G%I%

!+951/678%

Page 6: 01%(% 23,.-4+5,/-3%,-%51/678% 034%!+951/678%pages.cpsc.ucalgary.ca/~sillito/seng-301/labs/tutorial1.pdf · K7/3D%!+951/678%G%H% Help’s response will contain: - the link you’ll

B5C+/./3D%,;8%!-E,F0.8%)%J%

!+951/678%

Page 7: 01%(% 23,.-4+5,/-3%,-%51/678% 034%!+951/678%pages.cpsc.ucalgary.ca/~sillito/seng-301/labs/tutorial1.pdf · K7/3D%!+951/678%G%H% Help’s response will contain: - the link you’ll

B5C+/./3D%,;8%!-E,F0.8%)%J%

"51"??0%

Page 8: 01%(% 23,.-4+5,/-3%,-%51/678% 034%!+951/678%pages.cpsc.ucalgary.ca/~sillito/seng-301/labs/tutorial1.pdf · K7/3D%!+951/678%G%H% Help’s response will contain: - the link you’ll

B5C+/./3D%,;8%!-E,F0.8%)%J%

"51"??0%

Page 9: 01%(% 23,.-4+5,/-3%,-%51/678% 034%!+951/678%pages.cpsc.ucalgary.ca/~sillito/seng-301/labs/tutorial1.pdf · K7/3D%!+951/678%G%H% Help’s response will contain: - the link you’ll

K7/3D%"51/678%G%(%

L.80,/3D%0%38F%6.-M85,%

Page 10: 01%(% 23,.-4+5,/-3%,-%51/678% 034%!+951/678%pages.cpsc.ucalgary.ca/~sillito/seng-301/labs/tutorial1.pdf · K7/3D%!+951/678%G%H% Help’s response will contain: - the link you’ll

K7/3D%"51/678%G%H%

L.80,/3D%0%38F%51077%

Page 11: 01%(% 23,.-4+5,/-3%,-%51/678% 034%!+951/678%pages.cpsc.ucalgary.ca/~sillito/seng-301/labs/tutorial1.pdf · K7/3D%!+951/678%G%H% Help’s response will contain: - the link you’ll

K7/3D%"51/678%G%&%

N+33/3D%O-+.%5-48%

Page 12: 01%(% 23,.-4+5,/-3%,-%51/678% 034%!+951/678%pages.cpsc.ucalgary.ca/~sillito/seng-301/labs/tutorial1.pdf · K7/3D%!+951/678%G%H% Help’s response will contain: - the link you’ll

K7/3D%"51/678%G%I%

L.80,/3D%0%38F%!-+.58%P-148.%

Page 13: 01%(% 23,.-4+5,/-3%,-%51/678% 034%!+951/678%pages.cpsc.ucalgary.ca/~sillito/seng-301/labs/tutorial1.pdf · K7/3D%!+951/678%G%H% Help’s response will contain: - the link you’ll

K7/3D%"51/678%G%J%

L.80,/3D%0%38F%!-+.58%P-148.%

Page 14: 01%(% 23,.-4+5,/-3%,-%51/678% 034%!+951/678%pages.cpsc.ucalgary.ca/~sillito/seng-301/labs/tutorial1.pdf · K7/3D%!+951/678%G%H% Help’s response will contain: - the link you’ll

K7/3D%"51/678%G%Q%

L.80,/3D%0%38F%!-+.58%P-148.%

Page 15: 01%(% 23,.-4+5,/-3%,-%51/678% 034%!+951/678%pages.cpsc.ucalgary.ca/~sillito/seng-301/labs/tutorial1.pdf · K7/3D%!+951/678%G%H% Help’s response will contain: - the link you’ll

K7/3D%"51/678%G%R%

Some useful features:

- Catches syntax errors while you code

- Hover over an error (squiggly red line) for suggestions on how to fix it

- Auto-Complete

Page 16: 01%(% 23,.-4+5,/-3%,-%51/678% 034%!+951/678%pages.cpsc.ucalgary.ca/~sillito/seng-301/labs/tutorial1.pdf · K7/3D%!+951/678%G%H% Help’s response will contain: - the link you’ll

K7/3D%!+951/678%G%(%

Before you can use Subclipse:

- email [email protected] and ask for an SVN account

- the email should look something like

“Hi my name is [your name],

for my SENG 301 class, I need an SVN account for my cpsc account: [your username]”

Page 17: 01%(% 23,.-4+5,/-3%,-%51/678% 034%!+951/678%pages.cpsc.ucalgary.ca/~sillito/seng-301/labs/tutorial1.pdf · K7/3D%!+951/678%G%H% Help’s response will contain: - the link you’ll

K7/3D%!+951/678%G%H%

Help’s response will contain:

- the link you’ll need to use when initially

sharing the project and when accessing it

- it should look something like:

https://forge.cpsc.ucalgary.ca/svn/courses/s301/group[your

group number here]

Page 18: 01%(% 23,.-4+5,/-3%,-%51/678% 034%!+951/678%pages.cpsc.ucalgary.ca/~sillito/seng-301/labs/tutorial1.pdf · K7/3D%!+951/678%G%H% Help’s response will contain: - the link you’ll

K7/3D%!+951/678%G%&%

To share a project:

Page 19: 01%(% 23,.-4+5,/-3%,-%51/678% 034%!+951/678%pages.cpsc.ucalgary.ca/~sillito/seng-301/labs/tutorial1.pdf · K7/3D%!+951/678%G%H% Help’s response will contain: - the link you’ll

K7/3D%!+951/678%G%I%

To share a project:

Page 20: 01%(% 23,.-4+5,/-3%,-%51/678% 034%!+951/678%pages.cpsc.ucalgary.ca/~sillito/seng-301/labs/tutorial1.pdf · K7/3D%!+951/678%G%H% Help’s response will contain: - the link you’ll

K7/3D%!+951/678%G%J%

To share a project:

Page 21: 01%(% 23,.-4+5,/-3%,-%51/678% 034%!+951/678%pages.cpsc.ucalgary.ca/~sillito/seng-301/labs/tutorial1.pdf · K7/3D%!+951/678%G%H% Help’s response will contain: - the link you’ll

K7/3D%!+951/678%G%Q%

To access a project:

Page 22: 01%(% 23,.-4+5,/-3%,-%51/678% 034%!+951/678%pages.cpsc.ucalgary.ca/~sillito/seng-301/labs/tutorial1.pdf · K7/3D%!+951/678%G%H% Help’s response will contain: - the link you’ll

K7/3D%!+951/678%G%R%

To access a project:

Page 23: 01%(% 23,.-4+5,/-3%,-%51/678% 034%!+951/678%pages.cpsc.ucalgary.ca/~sillito/seng-301/labs/tutorial1.pdf · K7/3D%!+951/678%G%H% Help’s response will contain: - the link you’ll

K7/3D%!+951/678%G%R%

To access a project:

Page 24: 01%(% 23,.-4+5,/-3%,-%51/678% 034%!+951/678%pages.cpsc.ucalgary.ca/~sillito/seng-301/labs/tutorial1.pdf · K7/3D%!+951/678%G%H% Help’s response will contain: - the link you’ll

K7/3D%!+951/678%G%S%

To access a project:

Page 25: 01%(% 23,.-4+5,/-3%,-%51/678% 034%!+951/678%pages.cpsc.ucalgary.ca/~sillito/seng-301/labs/tutorial1.pdf · K7/3D%!+951/678%G%H% Help’s response will contain: - the link you’ll

K7/3D%!+951/678%G%T%

To access a project:

Page 26: 01%(% 23,.-4+5,/-3%,-%51/678% 034%!+951/678%pages.cpsc.ucalgary.ca/~sillito/seng-301/labs/tutorial1.pdf · K7/3D%!+951/678%G%H% Help’s response will contain: - the link you’ll

K7/3D%!+951/678%G%('%

The main commands you will use in Subclipse:

Page 27: 01%(% 23,.-4+5,/-3%,-%51/678% 034%!+951/678%pages.cpsc.ucalgary.ca/~sillito/seng-301/labs/tutorial1.pdf · K7/3D%!+951/678%G%H% Help’s response will contain: - the link you’ll

K7/3D%!+951/678%G%((%

The main commands you will use in Subclipse:

Update: will check the repository for changes

and add them to your code

Commit: takes changes in your code and adds them to the server

Merge: resolves conflicts discovered by either of the above operations

Page 28: 01%(% 23,.-4+5,/-3%,-%51/678% 034%!+951/678%pages.cpsc.ucalgary.ca/~sillito/seng-301/labs/tutorial1.pdf · K7/3D%!+951/678%G%H% Help’s response will contain: - the link you’ll

K7/3D%!+951/678%G%(H%

The main commands you will use in Subclipse:

Synchronize:

- allows you to select which changes to make to both code bases if there have been concurrent modifications

- otherwise Subclipse may insert junk into your code!

Page 29: 01%(% 23,.-4+5,/-3%,-%51/678% 034%!+951/678%pages.cpsc.ucalgary.ca/~sillito/seng-301/labs/tutorial1.pdf · K7/3D%!+951/678%G%H% Help’s response will contain: - the link you’ll

K7/3D%!+951/678%G%(&%

Advice on Subclipse:

If you Update/Commit frequently, you’ll reduce the chance

of creating a conflict, and also reduce the time it takes to sort a conflict out!

Be consistent in your use of Subclipse, committing only

once a week or less may take more time then you think

Page 30: 01%(% 23,.-4+5,/-3%,-%51/678% 034%!+951/678%pages.cpsc.ucalgary.ca/~sillito/seng-301/labs/tutorial1.pdf · K7/3D%!+951/678%G%H% Help’s response will contain: - the link you’ll

$8,,/3D%03%!U#%V-DG%(%

SSH into CSC using SSH Secure Shell Client:

Page 31: 01%(% 23,.-4+5,/-3%,-%51/678% 034%!+951/678%pages.cpsc.ucalgary.ca/~sillito/seng-301/labs/tutorial1.pdf · K7/3D%!+951/678%G%H% Help’s response will contain: - the link you’ll

$8,,/3D%03%!U#%V-DG%H%

SSH into CSC using SSH Secure Shell Client:

Page 32: 01%(% 23,.-4+5,/-3%,-%51/678% 034%!+951/678%pages.cpsc.ucalgary.ca/~sillito/seng-301/labs/tutorial1.pdf · K7/3D%!+951/678%G%H% Help’s response will contain: - the link you’ll

$8,,/3D%03%!U#%V-DG%&%

Create an SVN Log file:

svn log https://forge.cpcs.ucalgary.ca/svn/courses/s301/

group[your group number] –username [your username] >> SVNLog.txt


Recommended