Eclipse IDE

2,247 views
2,055 views

Published on

A host of information about numerous developer's single-stop-shop for programming.

Published in: Technology, Education
0 Comments
6 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,247
On SlideShare
0
From Embeds
0
Number of Embeds
29
Actions
Shares
0
Downloads
0
Comments
0
Likes
6
Embeds 0
No embeds

No notes for slide

Eclipse IDE

  1. 1. The World In and Around E C L I P S E
  2. 2. What’s in store… <ul><li>The platform </li></ul><ul><li>Plugins and installing them </li></ul><ul><li>Perspectives and Views </li></ul><ul><li>Creating a Java Standalone and Web project </li></ul><ul><li>Working with Preferences </li></ul><ul><li>Import and Export functions </li></ul><ul><li>External Tools </li></ul><ul><li>Configuring Ant build </li></ul><ul><li>Shortcuts! </li></ul>
  3. 3. O R I G I N S <ul><li>Version 1.0 – November, 2001 </li></ul><ul><li>Serious usage started with version 3.0 </li></ul><ul><li>IBM spent nearly $ 40 million on its development </li></ul><ul><li>Object Technologies International [OTI] - IBM subsidiary – takes care of Eclipse development </li></ul><ul><li>OTI developed VA4J [Visual Age] – re-written to emerge as Eclipse </li></ul><ul><li>Released as Open Source – still is! </li></ul><ul><li>Consists of 3 sub-projects: Platform , Java Development Toolkit , Plug-in Development </li></ul>
  4. 4. The P L A T F O R M
  5. 5. The P L A T F O R M <ul><li>Platform Runtime – discovers all installed plug-ins. Does NOT load them </li></ul><ul><li>Workspace </li></ul><ul><ul><li>manages user’s resources in file-folder structure </li></ul></ul><ul><ul><li>maintains low-level history of files </li></ul></ul><ul><ul><li>notifies Tools about workspace changes </li></ul></ul><ul><li>Workbench – provides the graphical UI using SWT and JFace </li></ul><ul><li>Team support – plug-in facility for version control </li></ul><ul><li>Help – extensible documentation facility </li></ul>
  6. 6. Downloading E C L I P S E <ul><li>http://www.eclipse.org/downloads/ </li></ul><ul><li>JRE 5.0+ will be required to run Eclipse </li></ul><ul><li>Release version – thoroughly tested, major release </li></ul><ul><li>Stable version – before release, undergoing testing, relatively stable </li></ul><ul><li>Integration build – individual components are stable, but no guarantee on integrated behaviour </li></ul><ul><li>Nightly build – </li></ul><ul><ul><li>built from the latest version of code </li></ul></ul><ul><ul><li>Gives a feel of the latest/upcoming features </li></ul></ul>
  7. 7. P L U G I N S <ul><li>Every component in the workbench is a plug-in </li></ul><ul><li>Extend the feature set of Eclipse </li></ul><ul><li>Examples – Web Toolkit Project [WTP], UML Designer, log4j viewer </li></ul><ul><li>Plug-ins repository - http://www.eclipseplugincentral.com </li></ul><ul><li>Can be installed in 2 ways – </li></ul><ul><ul><li>Through the IDE </li></ul></ul><ul><ul><li>Manual installation </li></ul></ul>
  8. 8. P L U G I N S - Installation Using the IDE Help >> Software Updates
  9. 9. P L U G I N S - Installation Using the IDE Existing plug-ins can be updated by clicking on ‘Update’ button there For a new plug-in, the repository site needs to be added Enter the URL for the plug-in repository/archive
  10. 10. P L U G I N S - Installation <ul><li>Download the plug-in archive [usually a ZIP file] </li></ul><ul><li>Extract it – a ‘features’ and ‘plugins’ directory are present </li></ul><ul><li>Go to the Eclipse installation directory </li></ul><ul><li>Copy the contents of extracted ‘features’ and ‘plugins’ directory </li></ul><ul><li>Launch Eclipse with the ‘- clean ’ flag </li></ul>
  11. 11. P E R S P E C T I V E S & V I E W S <ul><li>The many number of different types of panes – Views </li></ul><ul><li>Pre-selected sets of views arranged in an order – Perspective </li></ul><ul><li>User customised perspectives also possible </li></ul>Views Perspective
  12. 12. Creating – J A V A Standalone Project File >> New >> Java Project Either a new project content, or, existing content can be chosen Configure the JRE version to be used Enter a project name
  13. 13. Creating – J A V A Standalone Project If not selected, choose the Java perspective and Package Explorer view Default package structure with ‘src’ folder Default JAR’s imported from JRE Ctrl + N – get the new resource wizard Select a ‘class’ or ‘package’ to add
  14. 14. Creating – J A V A Web Project Ctrl + N – get the new resource wizard Select ‘Dynamic Web Project’ under ‘Web’ folder WTP plug-in should be installed! Other Web project artefacts can also be created later on
  15. 15. Creating – J A V A Web Project Enter a project name This will also be context root Web application server specified here Specify any of the default config presets WTP plug-in should be installed!
  16. 16. Creating – J A V A Web Project If not selected, choose the Java EE perspective and Package Explorer view Ctrl + N – get the new resource wizard Select a ‘class’ or ‘package’ to add Default package structure with ‘src’ and ‘WebContent’ folder. Default JAR’s imported from JRE
  17. 17. P R E F E R E N C E S <ul><li>Allows user to personalise and customise </li></ul><ul><li>Fonts, colours, layout, formatting, behaviour, presets </li></ul><ul><li>Can be saved and exported and shared </li></ul><ul><li>Helps in getting a consistent look </li></ul>
  18. 18. P R E F E R E N C E S <ul><li>Java coding standards can be automatically enforced! </li></ul><ul><li>Window >> Preferences >> Java >> Formatter, click on Edit </li></ul>Almost all aspects of code formatting like indentation, tab control, white-space control, etc
  19. 19. References <ul><li>UML Basic: An Introduction [IBM] </li></ul><ul><li>Head First - Object Oriented Analysis and Design </li></ul><ul><li>Wikipedia </li></ul>

×