Uploaded on

Presented @ Ustron in 2012

Presented @ Ustron in 2012

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
602
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
0
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Eclipse WayTomasz ZarnaEclipse Platform commiter @ IBM
  • 2. Eclipse Way | Copyright © IBM Corp., 2012. All rights reserved.Agenda•Eclipse Way•Working with Community•Code coverage and static code analysis•Code review with Gerrit•Easy multi-tasking with Mylyn
  • 3. Eclipse Way | Copyright © IBM Corp., 2012. All rights reserved.How We Got Here•Java strategic technology for IBM•Need to compete with MS VS and other Java IDEs•Created in 1998 by IBM/OTI teams responsible for VisualAge•In 2001 opened to open source•In 2004 Eclipse Foundation was created•Eclipse already well regarded tooling platform•In mid 2004 Eclipse 3.0 ships, now based on OSGi•Eclipse becomes more and more an RCP platform•Thousands of Eclipse based products on the market, from STto fully loaded IDEs
  • 4. Eclipse Way | Copyright © IBM Corp., 2012. All rights reserved.Krakow Software Lab
  • 5. Eclipse Way | Copyright © IBM Corp., 2012. All rights reserved.Application LifecycleReqDev Test Ops
  • 6. Eclipse Way | Copyright © IBM Corp., 2012. All rights reserved.Application LifecycleReqDev Test Ops
  • 7. Eclipse Way | Copyright © IBM Corp., 2012. All rights reserved.Planning•Community input•Discuss propositions on bug reports•Committed, proposed items•We drop items to maintain schedule
  • 8. Eclipse Way | Copyright © IBM Corp., 2012. All rights reserved.Continuous Integration•Releases - e.g. R3.7•Stable - e.g. 3.8M5•Integration Builds - e.g. I20120511-1540•Nightly Builds - e.g. N20120626-1232Always beta:We work on nightly builds so we try to keep them running
  • 9. Eclipse Way | Copyright © IBM Corp., 2012. All rights reserved.Milestones•There are 7 milestones, each takes 6 weeks•Shipping is hard, that’s why we do it 7 times a release•Customers can rebase more frequently•Plan, develop, test, release, retrospective•We play all the roles•New and Noteworthy•Feed the community•Make people move to milestone builds•Fewer completed than more in progress
  • 10. Eclipse Way | Copyright © IBM Corp., 2012. All rights reserved.The Covergence Process•M6 - API freeze•M7 - feature freeze•RC1 - another commiter, PMC for API changes•RC2 - two commiters•RC3 - two commiters, compoment lead•RC4 - two compoment leads, any lead can vetoCommiting Into RCs:Release Candidates time is when you never want to have abuildbrake
  • 11. Eclipse Way | Copyright © IBM Corp., 2012. All rights reserved.Community•Inital investment•Community grows and becomes self supporting, we don’thave to grow•Early feedback•Open technical discussions, even more important thanopen bugs•Transparency, good for distributed teams•The village effect
  • 12. Eclipse Way | Copyright © IBM Corp., 2012. All rights reserved.Google Summer of Code•The Eclipse Foundation is one of 180 organisations•20 slots out of 1200+ assigned to EF•Topics: RCP, IDE, Java, C/C++, JGit, ECF, javascript, Orion•$•Internships in KSL
  • 13. Eclipse Way | Copyright © IBM Corp., 2012. All rights reserved.EclEmma• http://www.eclemma.org• EMMA, instrumentation• EPL• Eclipse 3.1 and Java 1.4• Update site: http://update.eclemma.org
  • 14. Eclipse Way | Copyright © IBM Corp., 2012. All rights reserved.
  • 15. Eclipse Way | Copyright © IBM Corp., 2012. All rights reserved.FindBugs• http://findbugs.sourceforge.net• Apache Commons BCEL + bug patterns• LGPL• Eclipse 3.3 and Java 1.5• Update site: http://findbugs.cs.umd.edu/eclipse
  • 16. Eclipse Way | Copyright © IBM Corp., 2012. All rights reserved.
  • 17. Eclipse Way | Copyright © IBM Corp., 2012. All rights reserved.PMD• http://pmd.sourceforge.net• AST + rule sets• BSD-style• Update site: http://pmd.sf.net/eclipse
  • 18. Eclipse Way | Copyright © IBM Corp., 2012. All rights reserved.
  • 19. Eclipse Way | Copyright © IBM Corp., 2012. All rights reserved.Code review with GerritGerrit
  • 20. Eclipse Way | Copyright © IBM Corp., 2012. All rights reserved.Code review with GerritGerrit Hudsonpull+1
  • 21. Eclipse Way | Copyright © IBM Corp., 2012. All rights reserved.Code review with GerritGerrit Hudsonpull+1+2
  • 22. Eclipse Way | Copyright © IBM Corp., 2012. All rights reserved.Code review with GerritGerrit Hudsonpull+1Git+2pushpullpull
  • 23. Eclipse Way | Copyright © IBM Corp., 2012. All rights reserved.Easy multi-tasking with Mylyn• http://www.eclipse.org/mylyn/• Task focused-interface, task management tool• EPL• Eclipse 3.6 and Java 1.5• Update site:http://download.eclipse.org/mylyn/snapshots/weekly
  • 24. Eclipse Way | Copyright © IBM Corp., 2012. All rights reserved.
  • 25. Eclipse Way | Copyright © IBM Corp., 2012. All rights reserved.
  • 26. Eclipse Way | Copyright © IBM Corp., 2012. All rights reserved.Repository connectors• Assembla Tickets• Atlassian JIRA , Bamboo, Crucible, FishEye• Bugzilla• CodeBeamer Eclipse Studio• CollabNet Issue Tracker, formerly IssueZilla• CollabNet TeamForge• CollabNet Project Tracker• EmForge• EPlanner• FogBugz• GitHub Connector• Google Calendar• Google Code• Google Gmail• HP Quality Center• IBM Rational ClearQuest• Industrial Connector• Mantis• Origo• QcMylyn• Microsoft Outlook & Exchange• ProjectKoach• Rally• Redmine• Request Tracker (RT)• Remember The Milk• ScrumWorks Basic• ScrumWorks Pro• Serena Business Mashups 2009• Google SpreadSheet Template• TD/OMS• ThoughtWorks Studios Mingle• Trac• Track+• Unfuddle• Web Templates• XPlanner
  • 27. Eclipse Way | Copyright © IBM Corp., 2012. All rights reserved.Thank you!
  • 28. Eclipse Way | Copyright © IBM Corp., 2012. All rights reserved.Legal Notice IBM and the IBM logo are trademarks or registeredtrademarks of IBM Corporation, in the United States, othercountries or both. Java and all Java-based marks, among others, aretrademarks or registered trademarks of Sun Microsystems inthe United States, other countries or both. Eclipse and the Eclipse logo are trademarks of EclipseFoundation, Inc. Other company, product and service names may betrademarks or service marks of others.28
  • 29. Eclipse Way | Copyright © IBM Corp., 2012. All rights reserved.Keeping It BigHow can you build something that can last 10 years and be: Industry leading Extendable Constantly evolvingWell, you need to have those: Modularity Scalability Stable APIs
  • 30. Eclipse Way | Copyright © IBM Corp., 2012. All rights reserved.Stable APIStable APIs are critical to sustain growth. Clients can addfeatures instead of updating to new API. So, it has to be: Consistent and wise Any decision made today will impact where you can go tommorowAPI compatibility is a huge commitment so we take adefensive approach: Don’t add until there is at least one client Exhibit less rather then more Expose more if needed
  • 31. Eclipse Way | Copyright © IBM Corp., 2012. All rights reserved.JDT• An incremental Java compiler, implemented as an Eclipsebuilder• Preferences: Java > Compiler > Error/Warnings Code style Potential programming problems Name shadowing and conflicts Deprecated and restricted API Unnecessary code Generic types Annotations
  • 32. Eclipse Way | Copyright © IBM Corp., 2012. All rights reserved.API Tooling•Invalid API usage•Execution environments