IDA - Eclipse Workshop I (In Danish)

Post on 11-Nov-2014

1,792 views 2 download

Tags:

description

”Medbring din laptop, netbook, mac el.lign. og få i løbet af denne workshop dine første hands-on erfaringer med Eclipse.” Arrangement for IDA. In Danish

transcript

PR0017 - 2009-09-29

Redistribution and other use of this material requires written permission from The RCP Company.

Eclipse Workshop I

”Medbring din laptop, netbook, mac el.lign. og få i løbet af denne workshop dine første hands-on erfaringer med Eclipse.”

Arrangement for IDA.

PR0017 - 2009-09-29

2

The Arrangement

“Medbring din laptop, netbook, mac el.lign. og få i løbet af denne workshop dine første hands-on erfaringer med Eclipse.

Program:

- Installation af Eclipse - "Dit første program" - Hvor finder du flere Eclipse plug-ins - specielt med fokus på de teknologier som netop nu er i vælten såsom Android, PHP, ...? - Basal debugging af programmer - Eclipse.dk

Eclipse er et gratis open source IDE, som understøtter Java, C++, C, PHP m.fl.

Eclipse findes til de gængse OS-platforme: Windows, Mac OS X, Linux. I Eclipse integereret man let Webserver, Databaseserver, UML mv.

Workshoppen ledes af Tonny Madsen, Formand/Chairman for Eclipse.dk, Direktør/CEO RCP Kompagniet ApS

Der serveres et let traktement i starten af workshoppen. “

PR0017 - 2009-09-29

3

The Timing

Now: Refreshments

13:30: Introduction, Installing Eclipse and Getting Started

15:00: A Short Break

15:15: Developing Java Applications

16:45: A Short Break

17:00: Extending the Eclipse IDE and the Future of Eclipse

18:00: Finish – Time to Go Home

PR0017 - 2009-09-29

4

Agenda

Introduction Eclipse is… what exactly? Installing Eclipse Getting started with your first Java program

Demonstration of some relevant Eclipse features for Java development Debugging a Java Program

More Plug-ins and Features Pydev PHP Android

Support and Resources Eclipse e4 – the future of Eclipse

This is a technical talk rather than a business oriented talk…

PR0017 - 2009-09-29

5

About Me

Founder and Owner of The RCP Company

20 years of experience in system development in major companies

Regnecentralen (now ICL) Digital (now HP) Anritsu (previously NetTest)

9 years experience as the Systems Architect of an 20+ MLoC project

7 years of experience with Eclipse and Eclipse RCP

Add-in Provider Member of the Eclipse Foundation Chairman of Eclipse.dk Extern Lecturer at IT-University on MDD and DSL

PR0017 - 2009-09-29

6

Remember if you have questions…

…ask them!

PR0017 - 2009-09-29

7

Eclipse is… what exactly?

PR0017 - 2009-09-29

8

Eclipse – The Java IDE

PR0017 - 2009-09-29

9

Eclipse – The Tools Platform

PR0017 - 2009-09-29

10

Eclipse – The Application Platform Nordea Banking Desktop

L0019 - 2008-11-28

11

IBM Lotus NotesVersion 8

PR0017 - 2009-09-29

12

Installing Eclipse

PR0017 - 2009-09-29

13

Getting Eclipse

Go to “eclipse.org”

PR0017 - 2009-09-29

14

Eclipse Editions

Eclipse IDE for Java EE Developers (189 MB) [1,927,084]

Eclipse IDE for Java Developers (92 MB) [948,217]

Eclipse for PHP Developers (139 MB) [469,037]

Eclipse IDE for C/C++ Developers (79 MB) [448,336]

Eclipse for RCP/Plug-in Developers (183 MB) [95,759]

Eclipse Modeling Tools (includes Incubating components) (371 MB) [82,981]

Eclipse IDE for Java and Report Developers (220 MB) [77,009]

Pulsar for Mobile Java Developers (112 MB) [52,241]

Eclipse SOA Platform for Java and SOA Developers (137 MB) [39,284]

Eclipse Classic 3.5.1 (162 MB) [910,114]

PR0017 - 2009-09-29

15

Installing Eclipse…

… just unzip somewhere!

It does not use the registry It can be installed on an USB key

PR0017 - 2009-09-29

16

Friends of Eclipse

Providing more bandwidth for users and committers Purchasing additional servers to host Eclipse projects Sending students to EclipseCon Sponsoring Eclipse community events

Early access to downloads

PR0017 - 2009-09-29

17

Getting Started WithYour First Java Program

PR0017 - 2009-09-29

18

Launching Eclipse

Just execute “eclipse.exe”

Select the location of the workspace

PR0017 - 2009-09-29

19

Welcome to Eclipse

PR0017 - 2009-09-29

20

The Workbench

PR0017 - 2009-09-29

21

Organization of the Workspace

Projects All files are put into projects

Folders Files can be organized in folders Some folders are special and are

managed by Eclipse

Files

Some folders and files are hidden

PR0017 - 2009-09-29

22

The First Java Application

Create a project

Create a Java package – here “dk.ida.e01”

Create a Java source file – here “HelloWorld”

package dk.ida.e01;

public class HelloWorld {public static void main(String[] arg) {

System.out.println("Hello World");}

}

PR0017 - 2009-09-29

23

Launch the Application

Select the project of the Java file

Right click

Select “Run As”

PR0017 - 2009-09-29

24

Demonstration of some Relevant Eclipse Features for Java

Development

PR0017 - 2009-09-29

25

Debugging a Java Program

PR0017 - 2009-09-29

26

More Plug-ins and Features

PR0017 - 2009-09-29

27

To Install Something New

Click on “Help” -> “Install New Software…”

PR0017 - 2009-09-29

28

Where to Find Stuff

The Standard Sites Galileo - http://download.eclipse.org/releases/galileo The Eclipse Project Updates -

http://download.eclipse.org/eclipse/updates/3.5

Eclipse Marketspace - http://marketplace.eclipse.org/

PR0017 - 2009-09-29

29

Support and Resources

PR0017 - 2009-09-29

30

Support Sources

Books http://www.eclipse.org/resources/?type=book

Sources All source already included!

Training and Services http://www.eclipse.org/membership/exploreMembership.php

Forums http://www.eclipse.org/forums/

Twitter

User Groups http://www.eclipse.dk/

PR0017 - 2009-09-29

31

When You Want to Know More

Eclipse Articles http://www.eclipse.org/resources/

Blogs http://planeteclipse.org/planet/

Webcasts http://live.eclipse.org/

Conferences EclipseCon: http://www.eclipsecon.org/2010/ Eclipse Summit Europe

Forums http://www.eclipse.org/forums/

User Groups http://www.eclipse.dk/

PR0017 - 2009-09-29

32

Eclipse e4 – the future of Eclipse

PR0017 - 2009-09-29

33

Q&A

PR0017 - 2009-09-29

34

After Work Meeting for eclipse.dk

PR0017 - 2009-09-29

35

If you want to know more

The foundation: http://eclipse.org

The Danish User Group: http://eclipse.dk

The training: http://www.eclipse.org/community/training/classes.php

Resources on Eclipse http://www.eclipse.org/resources/

Consolidated Blog: http://planeteclipse.org/