Presentation is loading. Please wait.

Presentation is loading. Please wait.

SENG 301 – Tutorial 1 Introduction to Eclipse and Subclipse Slides: Theodore D. Hellmann and Jamie Starke.

Similar presentations


Presentation on theme: "SENG 301 – Tutorial 1 Introduction to Eclipse and Subclipse Slides: Theodore D. Hellmann and Jamie Starke."— Presentation transcript:

1 SENG 301 – Tutorial 1 Introduction to Eclipse and Subclipse Slides: Theodore D. Hellmann and Jamie Starke

2 Acquiring the Software - 1 - download “Eclipse Classic” from eclipse.org - remember it just unzips (no installation)

3 Acquiring the Software - 2 Subclipse

4 Acquiring the Software - 3 Subclipse

5 Acquiring the Software - 4 Subclipse

6 Acquiring the Software – 5 Subclipse

7 Acquiring the Software – 5 EclEmma

8 Acquiring the Software – 5 EclEmma

9 Using Eclipse - 1 Creating a new project

10 Using Eclipse - 2 Creating a new class

11 Using Eclipse - 3 Running your code

12 Using Eclipse - 4 Creating a new Source Folder

13 Using Eclipse - 5 Creating a new Source Folder

14 Using Eclipse - 6 Creating a new Source Folder

15 Using Eclipse - 7 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

16 Using Subclipse - 1 Before you can use Subclipse: - email help@cpsc.ucalgary.ca 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]”

17 Using Subclipse - 2 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]

18 Using Subclipse - 3 To share a project:

19 Using Subclipse - 4 To share a project:

20 Using Subclipse - 5 To share a project:

21 Using Subclipse - 6 To access a project:

22 Using Subclipse - 7 To access a project:

23 Using Subclipse - 7 To access a project:

24 Using Subclipse - 8 To access a project:

25 Using Subclipse - 9 To access a project:

26 Using Subclipse - 10 The main commands you will use in Subclipse:

27 Using Subclipse - 11 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

28 Using Subclipse - 12 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!

29 Using Subclipse - 13 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

30 Getting an SVN Log- 1 SSH into CSC using SSH Secure Shell Client:

31 Getting an SVN Log- 2 SSH into CSC using SSH Secure Shell Client:

32 Getting an SVN Log- 3 Create an SVN Log file: svn log https://forge.cpcs.ucalgary.ca/svn/courses/s301/group[yo ur group number] –username [your username] >> SVNLog.txt


Download ppt "SENG 301 – Tutorial 1 Introduction to Eclipse and Subclipse Slides: Theodore D. Hellmann and Jamie Starke."

Similar presentations


Ads by Google