1 / 16

SENG 531: Labs

SENG 531: Labs. TA: Brad Cossette brad.cossette@gmail.com cossette@cpsc.ucalgary.ca http://pages.cpsc.ucalgary.ca/~cossette/ Office Hours: Monday, Wednesday 3-4pm ICT 524. Labs This Week:. Monday Demos Wednesday Assignment 2 Resources for Eclipse Demos.

oliana
Download Presentation

SENG 531: Labs

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. SENG 531: Labs TA: Brad Cossette brad.cossette@gmail.com cossette@cpsc.ucalgary.ca http://pages.cpsc.ucalgary.ca/~cossette/ Office Hours: Monday, Wednesday 3-4pm ICT 524

  2. Labs This Week: • Monday • Demos • Wednesday • Assignment 2 • Resources for Eclipse • Demos

  3. Reflections for Assignment 1 • Assertions don’t tell me anything • Justify your statements with examples, anecdotes • Talk intelligently, critically about your solution • Explain what your solution does, not what it is. • Saying it’s evolvable, or not bullet proof is not enough • You need to do the coding to understand the solution • Division of labor issues for larger teams • Too short is just as bad as too long • The best reflections were • Roughly 3 pages long • Had something interesting to say

  4. Assignment 2 Overview It’s Assignment 2, but now it’s a plugin! • Plugin for Eclipse 3.2 • Version matters! • Java Language Spec 2nd edition • Roughly equivalent to the Java 1.4 SDK

  5. Assignment 2: Use Case

  6. Assignment 2: Use Case

  7. Assignment 2: Use Case New Context Item: Concrete Declarations

  8. Assignment 2: Use Case Need to insert a root entry for each method invocation This will be your list of associated method declarations

  9. argument field access fighter bar Eclipse Architecture

  10. argument field access fighter bar Eclipse Architecture Same as Assignment 1 You’re responsible for doing the cross referencing

  11. Assignment 2: Priorities • You must have a plugin working in Eclipse 3.2 • Get your Assignment 1 working in Eclipse • A text-based printout should be a good starting point • Good GUI implementation + non-functional back-end is not a good thing.

  12. Before you panic • Eclipse is • Open Source • You can actually look under the hood if you want • Get the Dev Kit • Developed by IBM • And they’re pretty anal about documentation • Focused on Plugins • So there’s lots of plugins out there • Fairly popular • So there’s lots of tutorials and help out there

  13. Some Resources • Eclipse • Plugin central http://www.eclipseplugincentral.com/ • Getting started with plugins http://www.eclipse.org/articles/Article-PDE-does-plugins/PDE-intro.html • AST’s in Eclipse • Plugin for Java AST’s in Eclipse http://www.eclipse.org/jdt/ui/astview/index.php

  14. Some Resources • Strathcona http://lsmr.cs.ucalgary.ca/projects/heuristic/strathcona/ • Strathcona tries to recommend relevant code examples based on the your current context. Use at your own risk. • Installation http://lsmr.cpsc.ucalgary.ca/projects/heuristic/strathcona/installing • Usage http://lsmr.cpsc.ucalgary.ca/projects/heuristic/strathcona/using

  15. Suggestions • You definitely want to have a plugin working by next Monday • Version your code via e-mail • You MAY need to backup entire change sets. • Play GMail against Hotmail • Use pair programming if you’re having problems keeping everyone involved

  16. Labs Next Week: • Monday • Open • Wednesday • Open • Let me know what issues you’re still facing

More Related