1 / 289

Making the most of

Doug Tidwell, Eric Long & Akmal Chaudhri IBM Developer Relations. Making the most of. Agenda. An introduction to Eclipse Installing and running Eclipse The Eclipse Java Development Tools The Eclipse debugger Extending Eclipse with plug-ins The Web Tools Platform Creating Eclipse plug-ins

cana
Download Presentation

Making the most of

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. Doug Tidwell, Eric Long & Akmal Chaudhri IBM Developer Relations Making the most of

  2. Agenda An introduction to Eclipse Installing and running Eclipse The Eclipse Java Development Tools The Eclipse debugger Extending Eclipse with plug-ins The Web Tools Platform Creating Eclipse plug-ins Eclipse resources

  3. An overview of Eclipse

  4. What we'll cover Eclipse and The Eclipse Foundation Eclipse architecture Major Eclipse projects Eclipse in the marketplace

  5. Eclipse and The Eclipse Foundation

  6. What is Eclipse? • A technology platform – originally an IDE, now can be anything (see the Eclipse Rich Client Platform) • An open source project – The Eclipse Public License is OSI certified.

  7. What is Eclipse? • A community – The most vital part of the platform. • Hundreds of companies and thousands of programmers are working to improve and extend it all the time. • See eclipse.org/community.

  8. The Eclipse Foundation Launched by IBM in November 2001 Originally led by Borland, IBM, Merant, QNX, Rational and others Today dozens of vendors participate, including Intel, BEA, Oracle, HP, SAP, Hitachi, Telelogic and Ericsson. The Eclipse Foundation is non-profit and not controlled by IBM. The current head of the foundation is from Oracle, for example.

  9. The Eclipse Foundation There are four levels of membership in The Eclipse Foundation: Strategic members – Contribute developers and financial resources Add-in provider members – Participate in Eclipse development Associate members – Non-profit orgs, universities, standards bodies and so forth; want to participate in Eclipse development Committer members – Individuals who are core developers and can commit changes to the source code

  10. Strategic members (developers)

  11. Strategic members (consumers)

  12. [Some of the] other members…

  13. Eclipse architecture

  14. Eclipse architecture • Platform Development tools Eclipse plug-in development Rich Client Platform applications … ATF CDT TPTP BIRT WTP EMF GEF JDT PDE RCP app

  15. Eclipse architecture • Platform Releaseengineering Platform text Platform UI SWT Compare CVS Platform resources Search Ant Team Platform runtime Update Platform debug Help • Platform

  16. Eclipse architecture HelpSystem Workbench Workspace TeamComponents C++plug-in Modelingplug-in GUI builderplug-in

  17. Eclipse projects

  18. Eclipse projects Eclipse project (the core platform) Provide the base Eclipse platform, not just an IDE anymore Eclipse Tools project Coordinates groups building world-class tools for Eclipse, also provides input for Eclipse future directions Eclipse Technology project Research, incubation and education Java Development Tools (JDT) project The original focus of the IDE

  19. Eclipse projects Web Tools Platform (WTP) project "Generic, extensible and standards-based" tools for the Web + Java EE Data Tools Platform (DTP) project “Generic, extensible and standards-based” tools for databases Ajax Tools Framework (ATF) project An open, extensible framework Test and Performance Tools Platform project (TPTP) World-class testing and performance tools

  20. Eclipse projects The Eclipse Modeling Project Integrates several model-based frameworks and technologies: The Eclipse Modeling Framework (EMF) The Graphical Editing Framework (GEF) UML2 Object Constraint Language (OCL) XML Schema Infoset Modeling The C Development Tools (CDT) project Provide C/C++ tools that are as complete as the Java tools

  21. Eclipse projects Business Intelligence and Reporting Tools project (BIRT) Lots of applications need reporting functions. The BIRT project intends to provide a complete suite of reporting tools and frameworks. ECESIS Open-source courseware, including slides, lab exercises and solutions.

  22. Eclipse in the marketplace

  23. Eclipse is valuable… …to users, because: All Eclipse-based tools work the same way Hundreds of plug-ins are available to extend Eclipse …to ISVs,because: They don't have to write an enormous amount of code (editors, debuggers, and so forth) Their work fits in to an established, rapidly growing platform They can combine their work with other Eclipse plug-ins to create custom solutions

  24. Case study: NASA "Among the reasons for using open source software is the philosophical idea that spending taxpayer money to do things that have already been done is just not justifiable. Many development groups within NASA … are being paid by the taxpayers to do space exploration and that’s where the money should be spent." From the case study NASA Uses Eclipse for Interplanetary Operations, available at eclipse.org/community/casestudies.

  25. Eclipse by the numbers Tens of millions of downloads More than 1 million users in more than 125 countries More than 1,000 plug-ins at eclipseplugincentral.com More than 950 Eclipse-related projects at SourceForge Hundreds of articles on Eclipse at developerWorks, eclipse.org and elsewhere

  26. Eclipse books

  27. The dominant development platform "Can anybody ignore Eclipse? No … maybe Microsoft." Carl Zetie, Forrester analyst "The game is not over, but when we think of developer ecosystems other than Visual Studio we think Eclipse. We don't think NetBeans." A Microsoft spokesperson at EclipseCon 2005 From

  28. Industry awards developer.com – Development Tool of the Year 2006 Java Developer's Journal Readers' Choice Awards 2005 Best Java Application Best Team Development Tool Most Innovative Java Product Best Java Class Library (Eclipse SWT) Best Java Debugging Tool Software Development magazine –Best Open Source Tool

  29. Industry awards SD Times – Best in Category, Tools and Environments 2005 Jolt Awards 2005 – Product Excellence Award for Languages and Development Environments eclipse.org/community/awards.php lists many other awards…

  30. Summary

  31. Summary Eclipse has evolved from a base for building developer tools into a general-purpose framework. IBM created the Eclipse Foundation, but doesn't have any more rights than any other Strategic member. IBM and dozens of other vendors provide hundreds of Eclipse-based products. Eclipse has more industry support (downloads, products, users, books, etc.) than any other tools platform.

  32. The bottom line: Eclipse is a great platform by itself, but the Eclipse community is why you should use it.

  33. Installing and running Eclipse

  34. What we'll cover Installing Eclipse Running Eclipse Eclipse terms and concepts: Perspectives, views, editors and other useful things Other IDE functions

  35. Installing Eclipse

  36. Installing Eclipse • Installing Eclipse is very simple. To get started, go to eclipse.org and click the Downloads link.

  37. Installing Eclipse Download the Eclipse SDK. Currently the file name is eclipse-SDK-3.2-win32.zip (for Windows) This file contains everything from Eclipse, including the Eclipse platform and the SDK. Download the file (use a mirror if you can) and unzip it. You're done! There are instructions on the Eclipse download page if you need them.

  38. The Java Runtime Environment Because Eclipse is written in Java, you have to have a Java Runtime Environment (JRE) on your machine. A JRE isn't included with Eclipse itself. eclipse.org lists sites with JREs available if you need one. The Eclipse Foundation wisely doesn't recommend any particular JRE. JRE 1.5.0_02 works well, although you can have multiple JREs/JDKs installed on your machine and switch between them in Eclipse.

  39. Running Eclipse

  40. Running Eclipse Now that you've installed Eclipse, use the eclipse command to run it:

  41. Performance tip If Eclipse runs slowly, try adding this switch to the command line or shortcut: eclipse –vmargs –Xms256M This starts the Java virtual machine with 256MB of RAM. Eclipse loads plug-ins only when you need them, but it can start to slow down if you use lots of tools. This tip is particularly helpful on Windows platforms.

  42. Eclipse terms and concepts

  43. Eclipse terms and concepts Workspace Workbench Perspectives Views Editors Preferences

  44. Workspace The workspace is a physical location on your machine. It contains projects, folders, and files. A project is a collection of folders and files for a particular task. A folder is a subdirectory; it can contain folders and other files. A file is just a file. In other words, a workspace is just a directory.

  45. Choosing a workspace • The first time you run Eclipse, you'll be asked to choose a workspace. • You can also create different workspaces… • To open Eclipse in a particular workspace, type eclipse –data c:\workspace.

  46. Using different workspaces • You can create shortcuts for different workspaces and launch those workspaces easily.

  47. Switching workspaces • You can use the Switch Workspace… item on the File menu to change workspaces. • You can change to another workspace without restarting Eclipse.

  48. Workbench The workbench is the Eclipse environment. When you open Eclipse, you see a workbench that displays the resources in a particular workspace. A workbench contains perspectives, views, and editors.

  49. The workbench

  50. Perspectives • A perspective is a set of views organized for a particular task. • If you're writing Java code, certain views are useful. • If you're debugging Java code, other views are useful. • A perspective lets you arrange the views you need. • Eclipse comes with several perspectives installed.

More Related