eclipse introduction

Post on 19-Jan-2016

27 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

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

TRANSCRIPT

Eclipse IntroductionEclipse Introduction

Dwight Deugo (dwight@espirity.com)Dwight Deugo (dwight@espirity.com)Nesa Matic (nesa@espirity.com)Nesa Matic (nesa@espirity.com)

www.espirity.com

2 © 2003-2005, Espirity Inc.

Additional Contributors

None as of September, 2005

3 © 2003-2005, Espirity Inc.

Module Overview

1. Overview2. Installing and Running

4 © 2003-2005, Espirity Inc.

Module Road Map

1. Overview Background Architecture Components Usage scenarios

2. Installing and Running

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

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)

7 © 2003-2005, Espirity Inc.

IBM’s IDE History

1994VisualAge for Smalltalk

1996VisualAge for Java

2001Eclipse Project

VisualAge Micro Edition

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

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

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

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

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

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

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

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

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

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

18 © 2003-2005, Espirity Inc.

Getting Eclipse

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

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

21 © 2003-2005, Espirity Inc.

Installing the Eclipse

Unzip the downloaded file to the directory of your choice

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

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

24 © 2003-2005, Espirity Inc.

… Missing a Java VM?

Other VMs are available at the Eclipse download web site

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

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

27 © 2003-2005, Espirity Inc.

Running Eclipse

When Eclipse is run, a Welcome page opens

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

29 © 2003-2005, Espirity Inc.

… Running Different Workspace

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

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

31 © 2003-2005, Espirity Inc.

Labs!

Lab: Installing and Running Eclipse

top related