1 The Launching Framework in Eclipse Cheng-Chia Chen.

Slides:



Advertisements
Similar presentations
Extending Eclipse CDT for Remote Target Debugging Thomas Fletcher Director, Automotive Engineering Services QNX Software Systems.
Advertisements

CACORE TOOLS FEATURES. caCORE SDK Features caCORE Workbench Plugin EA/ArgoUML Plug-in development Integrated support of semantic integration in the plugin.
Web Toolkit Julie George & Ronald Lopez 1. Requirements  Java SDK version 1.5 or later  Apache Ant is also necessary to run command line arguments 
Copyright  Oracle Corporation, All rights reserved. 1 Creating an Application: The AppBuilder for Java IDE.
© 2006 IBM Corporation JFS tests process on System z.
Developing an Eclipse Plug-in David Gallardo. Platform Runtime Workspace Help Team Workbench JFace SWT Eclipse Project Java Development Tools (JDT) Their.
Using Eclipse. Getting Started There are three ways to create a Java project: 1:Select File > New > Project, 2 Select the arrow of the button in the upper.
Programming with Android: SDK install and initial setup Luca Bedogni Marco Di Felice Dipartimento di Informatica: Scienza e Ingegneria Università di Bologna.
Goals Give you a feeling of what Eclipse is.
My First Building Block Presented By Tracy Engwirda 28 September, 2005.
Remote Unit Testing Brian Pruitt-Goddard Alex Riordan.
Eclipse Architecture Dwight Deugo Nesa Matic
Java Integrated Development Environments: ECLIPSE Part1 Installation.
Integrated Development Environments. Today We Will: Go over more advanced functionality of Eclipse. Break up into teams to work on presentation and final.
Android: Hello World Frank Xu Gannon University. Steps Configuration ▫Android SDK ▫Android Development Tools (ADT)  Eclipse plug-in ▫Android SDK and.
Fall 2007CS 2251 Programming Tools Eclipse JUnit Testing make and ant.
Presented by IBM developer Works ibm.com/developerworks/ 2006 January – April © 2006 IBM Corporation. Making the most of The Java Development Tools project.
Eclipse Introduction Dwight Deugo Nesa Matic
Mobile Application Development
Presented by IBM developer Works ibm.com/developerworks/ 2006 January – April © 2006 IBM Corporation. Making the most of Creating Eclipse plug-ins.
1 Eclipse Platform Plug-in developper Guide PDG HowTos.
Views Dwight Deugo Nesa Matic
1 Plug-in Development Environment (PDE) Guide. 2 Introduction to PDE l What is PDE: »a tool designed to help you develop platform plug-ins while working.
Programming Tools Eclipse JUnit Testing make and ant.
Android Programming Beomjoo Seo Sep., 12 CS5248 Fall 2012.
ANDROID PROGRAMMING MODULE 1 – GETTING STARTED
Eclipse IDE. 2 IDE Overview An IDE is an Interactive Development Environment Different IDEs meet different needs BlueJ and DrJava are designed as teaching.
03 Using Eclipse. 2 IDE Overview An IDE is an Interactive Development Environment Different IDEs meet different needs BlueJ and DrJava are designed as.
ProSense BELGRADE Deploying SunSPOT SDK and Emulator on your Desktop or Laptop Computer Author: Stanislava Stanković, B.Sc. student of the School of Electrical.
Maven & Bamboo CONTINUOUS INTEGRATION. QA in a large organization In a large organization that manages over 100 applications and over 20 developers, implementing.
Configuration Management and Server Administration Mohan Bang Endeca Server.
PRESENTATION 2 Sri Raguraman CIS 895 Kansas State University.
© 2005 by IBM; made available under the EPL v1.0 | March 1, 2005 Tim deBoer Gorkem Ercan Extend WTP Server Tools for your.
Duke University Program Design & Construction Course Application Development Tools Sherry Shavor
Ali Shahrokni Application Components Activities Services Content providers Broadcast receivers.
|Tecnologie Web L-A Anno Accademico Laboratorio di Tecnologie Web Introduzione ad Eclipse e Tomcat
Introduction to Eclipse Plug-in Development. Who am I? Scott Kellicker Java, C++, JNI, Eclipse.
1 Module Objective & Outline Module Objective: After completing this Module, you will be able to, appreciate java as a programming language, write java.
Plug-in Development Environment. Session Outline Tools Installation Configuration New Project Basic Debugging Remote Debugging.
Ontology Engineering and Plugin Development with the NeOn Toolkit Plug-in Development for the NeOn Toolkit June 1st, 2008 Michael Erdmann, Peter Haase,
Introduction to Eclipse CSC 216 Lecture 3 Ed Gehringer Using (with permission) slides developed by— Dwight Deugo Nesa Matic
[________________________] Eclipse project briefing materials. Copyright (c) 2002, 2003 IBM Corporation and others. All rights reserved. This.
@CloudOps_www.cloudops.com Swift UI in CloudStack with Single Sign-On CloudStack Collaboration Conference 2012.
Open Service Gateway Initiative (OSGi) Reporter : 林學灝 侯承育 1.
9/2/ CS171 -Math & Computer Science Department at Emory University.
Android Development Environment Environment/tools Windows Eclipse IDE for Java Developers (v3.5 Galileo) Java Platform (JDK 6 Update 18) Android.
Liferay Installation Prepared by: Do Xuan Hai 8 August 2011.
PRESENTATION 2 Sri Raguraman CIS 895 Kansas State University.
TOOLS FOR DESIGN AND DEVELOPMENT ENVIRONMENTS. Case study - ECLIPSE Lecture notes 6.
Internet Technologies1 Internet Technologies JavaFX.
How to Install Eclipse Click hereClick here to download Eclipse.
Spring-Batch Tutorial Getting Started Guide. Agenda  Software prerequisites  Creating new batch application  Setting up database  Running a job.
TOOLS FOR DESIGN AND DEVELOPMENT ENVIRONMENTS. Case study - ECLIPSE Lecture notes 5.
© 2009 by IBM; made available under the EPL v1.0 | Feb 1, 2009 Seneca 2009 Tim deBoer Gorkem Ercan Extend WTP Server Tools.
Introduction to OSGi +ActorFrame Surya Bahadur Kathayat
Eclipse Outlines: What is Eclipse? How to Install Eclipse? Eclipse Platform Eclipse Plug in Eclipse UML JUnit in Eclipse. References Latifa AlAbdulkarim.
Bogor-Java Environment for Eclipse MSE Presentation III Yong Peng.
JAVA CARD Presented by: MAYA RAJ U C A S,PATHANAMTHITTA.
ECLIPSE RICH CLIENT PLATFORM Part 1 Introduction.
The eclipse IDE IDE = “Integrated Development Environment”
Goals Give you a feeling of what Eclipse is.
Overall Architecture and Component Model
MAD.
Introduction to Eclipse
Cordova & Cordova Plugin Installation and Management
Java IDE Dwight Deugo Nesa Matic Portions of the notes for this lecture include excerpts from.
Java Code Coverage Tools - EclEmma and JaCoCo
Presentation transcript:

1 The Launching Framework in Eclipse Cheng-Chia Chen

2 Outlines source: – Framework/launch.htmlhttp:// Framework/launch.html Eclipse's launching capabilities –depend entirely on the current set of installed plug-ins. –API available to build launching plug-ins and –developing an example launcher using this API. Prerequisites: –basic understanding of Eclipse plug-in architecture –understanding the structure of plugin.xml –knowledge of java and java environment

3 What is launching ? launching is defined as running or debugging a program from within Eclipse. a launcher is a set of Java classes that live in an Eclipse plug-in that performs launching. The base Eclipse workbench has no launcher. –It is only through plug-ins that Eclipse gains the ability to launch. The Eclipse SDK does ship with a set of useful launchers for launching –local Java applications & Java applets, –connecting to remote Java applications, –JUnit test suites and –starting an Eclipse workbench, if none of these satisfy your needs, you may need to write your own launcher.

4 The framework two main classes: LaunchConfiguration –the cookies LaunchConfigurationType –the cookie cutters Example: run a HelloWorld.java program –configurations: main class name: ‘HelloWorld’ JRE to use: program and VM arguments classpath,… –type: local Java Application' means only this type knows how to make sense of this config and how to launch it.

5 The Java applet example an example actually part of eclipse SDK –non-UI parts living in org.eclipse.jdt.launching plug-in, and –UI parts contained in org.eclipse.jdt.debug.ui plug-in. Declaring and implementing a launch configuration type Declaring and implementing a launch configuration type icon Declaring and implementing a tab group Declaring and implementing launch shortcuts Declaring and implementing launch groups Declaring and implementing a launch configuration comparator Putting it all together

6 Declaring a launch configuration type <launchConfigurationType name="Java Applet" delegate="org.eclipse.jdt.internal.launching.JavaAppletLaunchConfi gurationDelegate" modes="run, debug" id="org.eclipse.jdt.launching.javaApplet"> Notes: 1.The delegate class must implement the interface:org.eclipse.debug.core.model.ILaunchConfigurationDelega te. it is the brains of the launcher, and implements the launch() method which launches a specified config. 2.modes can be run or debug or both. can affect how the the configs appear in UI. if in both mode, launch() should handle both.

7 Declaring a launch configuration type Notes: 3. optional boolean attributes: private –ture => can be launched by programs only. –false[default] => can appear in UI. category –discussed later