eclipse introduction

31
Eclipse Eclipse Introduction Introduction Dwight Deugo ([email protected]) Dwight Deugo ([email protected]) Nesa Matic ([email protected]) Nesa Matic ([email protected]) www.espirity.com

Upload: norris

Post on 19-Jan-2016

27 views

Category:

Documents


0 download

DESCRIPTION

www.espirity.com. Eclipse Introduction. Dwight Deugo ([email protected]) Nesa Matic ([email protected]). Additional Contributors. None as of September, 2005. Module Overview. Overview Installing and Running. Module Road Map. Overview Background Architecture Components - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Eclipse Introduction

Eclipse IntroductionEclipse Introduction

Dwight Deugo ([email protected])Dwight Deugo ([email protected])Nesa Matic ([email protected])Nesa Matic ([email protected])

www.espirity.com

Page 2: Eclipse Introduction

2 © 2003-2005, Espirity Inc.

Additional Contributors

None as of September, 2005

Page 3: Eclipse Introduction

3 © 2003-2005, Espirity Inc.

Module Overview

1. Overview2. Installing and Running

Page 4: Eclipse Introduction

4 © 2003-2005, Espirity Inc.

Module Road Map

1. Overview Background Architecture Components Usage scenarios

2. Installing and Running

Page 5: Eclipse Introduction

5 © 2003-2005, Espirity Inc.

What is Eclipse?

Eclipse is an open source project http://www.eclipse.org Consortium of companies, including IBM Launched in November 2001 Designed to help developers with specific

development tasks

Page 6: Eclipse Introduction

6 © 2003-2005, Espirity Inc.

Projects

Consists of many separate projects: Eclipse Project Eclipse Tools Project Eclipse Technology Project Eclipse Web Tools Platform Project The Eclipse Test and Performance Tools Platform

(TPTP) Project Business Intelligence and Reporting Tools (BIRT)

Project Data Tools Platform Project (DTP) Device Software Development Platform (DSDP)

Page 7: Eclipse Introduction

7 © 2003-2005, Espirity Inc.

IBM’s IDE History

1994VisualAge for Smalltalk

1996VisualAge for Java

2001Eclipse Project

VisualAge Micro Edition

Page 8: Eclipse Introduction

8 © 2003-2005, Espirity Inc.

The Eclipse Platform Motivation

Application development tools construction support

Independent tool vendors support GUI and non-GUI application development

support Numerous content types support

Java, HTML, C, XML, ... Easy integration of tools Use of Java language for writing the tools Multiple operating systems support

Page 9: Eclipse Introduction

9 © 2003-2005, Espirity Inc.

Plug-in Architecture

Eclipse Platform

Platform Runtime

Tool(plug-in)

Tool(plug-in)

Tool(plug-in)

Workbench

Workspace

Help

Team

Page 10: Eclipse Introduction

10 © 2003-2005, Espirity Inc.

Workbench Represents the

desktop development environment It contains set of tools

for resource management

It provides common way of navigating through the resources

Multiple workbenches can be opened at the same time

Page 11: Eclipse Introduction

11 © 2003-2005, Espirity Inc.

Workspace

Represents users data

It is a set of user defined resources Files

Contain arbitrary number of bytes

Folders Contain other folders or

files Projects

Collections of files and folders

Page 12: Eclipse Introduction

12 © 2003-2005, Espirity Inc.

Help Used for creating and

publishing documentation

There are two different documentation styles:

Help style documentation is published in the user guide

API documentation is published in the programmer guide

Help content is in HTML format

Help navigation is in XML format

Page 13: Eclipse Introduction

13 © 2003-2005, Espirity Inc.

Team

Provides support for: Versioning Configuration management Integration with team repository

Allows team repository provider to hook into the environment Team repository providers specify how to

intervene with resources Has optimistic and pessimistic locking

support

Page 14: Eclipse Introduction

14 © 2003-2005, Espirity Inc.

How is Eclipse Used?

As an IDE - Integrated Development Environment Supports the manipulation of various

content types Used for writing code

As a product base Supported through plug-in architecture

and customizations

Page 15: Eclipse Introduction

15 © 2003-2005, Espirity Inc.

Eclipse as an IDE

Java Development Tooling (JDT) is used for building Java code

Provides set of workbench plug-ins for manipulating Java code Java projects, packages, classes,

methods, .... Java compiler is built in

Used for compiling Java code Creates errors (special markers of code) if

compilation fails

Page 16: Eclipse Introduction

16 © 2003-2005, Espirity Inc.

Eclipse as a Product Base

Eclipse can be used as a Java product base

Its flexible architecture used as a product framework Reuse plug-in architecture Create new plug-ins Customize the environment

Page 17: Eclipse Introduction

17 © 2003-2005, Espirity Inc.

Module Road Map

1. Overview

2. Installing and Running Eclipse Where to get Eclipse? What is the support for Eclipse? Installing Eclipse Running Eclipse

Page 18: Eclipse Introduction

18 © 2003-2005, Espirity Inc.

Getting Eclipse

Page 19: Eclipse Introduction

19 © 2003-2005, Espirity Inc.

http://www.eclipse.org

Main point for finding Eclipse resources Downloads Articles Discussion groups Bugs

Contains various resources for using Eclipse

Contains references to other Eclipse related sites

Page 20: Eclipse Introduction

20 © 2003-2005, Espirity Inc.

Downloading Eclipse’s Install Zip File

Click on the Download from the main page on http://www.eclipse.org Choose the closest site from which to

download (geographical sites hosting the download)

Choose the build for download (usually the latest build)

Choose the platform for download and type of download (http or ftp)

Specify where to save the download locally

Page 21: Eclipse Introduction

21 © 2003-2005, Espirity Inc.

Installing the Eclipse

Unzip the downloaded file to the directory of your choice

Page 22: Eclipse Introduction

22 © 2003-2005, Espirity Inc.

eclipse.exe

Eclipse is run by double-clicking on the eclipse.exe file The file is located in the Eclipse installation

directory If there is no path set for javaw.exe

program, the following dialog will come up

Page 23: Eclipse Introduction

23 © 2003-2005, Espirity Inc.

Missing a Java VM? …

Download the latest Java Runtime Environment (JRE), e.g., v1.5.0_03 from http://java.sun.com/j2se/

Click on the downloaded EXE file to install

When given the option by the installer, identify a directory of your choice for the install files

Update the PATH environment variable to include the JRE’s bin directory

Page 24: Eclipse Introduction

24 © 2003-2005, Espirity Inc.

… Missing a Java VM?

Other VMs are available at the Eclipse download web site

Page 25: Eclipse Introduction

25 © 2003-2005, Espirity Inc.

Specifying JVM

There are two ways of specifying JVM for Eclipse: By installing JVM under the \jre\ directory off the

eclipse install directory By specifying existing JVM in the PATH

environment variable

Start -> Control Panel -> System ->Advanced -> Environment Variables

Page 26: Eclipse Introduction

26 © 2003-2005, Espirity Inc.

Specifying Workspace

The workspace contains user defined data – projects and resources such as folders and files

Eclipse prompts for a workspace location at the startup time

The prompt could be turned off

Page 27: Eclipse Introduction

27 © 2003-2005, Espirity Inc.

Running Eclipse

When Eclipse is run, a Welcome page opens

Page 28: Eclipse Introduction

28 © 2003-2005, Espirity Inc.

Running Different Workspace …

It is possible to run different workspaces using command prompt -data argument must be used with

eclipse.exe Workspace location must be specified

Useful for grouping project specific data

Multiple workspaces can run at the same time

Page 29: Eclipse Introduction

29 © 2003-2005, Espirity Inc.

… Running Different Workspace

Customize your working directory by creating a shortcut identifying the eclipse.exe and the working directory

Page 30: Eclipse Introduction

30 © 2003-2005, Espirity Inc.

Module Summary

In this module you have learned: What Eclipse is, its background and

components How Eclipse is used How to download, install and run Eclipse How to create and run multiple

workspaces with Eclipse

Page 31: Eclipse Introduction

31 © 2003-2005, Espirity Inc.

Labs!

Lab: Installing and Running Eclipse