Objectives Update IDE used to develop AWIPS2 plugins  Learn about API Baseline/Target Platform  Configure formatter and code templates.

Slides:



Advertisements
Similar presentations
©2009 Justin C. Klein Keane PHP Code Auditing Session 3 – Tools of the Trade & Crafting Malicious Input Justin C. Klein Keane
Advertisements

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.
1 eclipse Tips. 2 What is eclipse? Eclipse is a popular IDE (Integrated Development Environment) that we will use to create, compile, execute, and test.
MC365 Ant. Today We Will Cover: Overview of Ant Installing Ant Using the Ant command line tool Various Ant commands available Using Ant in Eclipse.
Android: Hello World Frank Xu Gannon University. Steps Configuration ▫Android SDK ▫Android Development Tools (ADT)  Eclipse plug-in ▫Android SDK and.
Eclipse Introduction Dwight Deugo Nesa Matic
Integrated Development Environments. Today We Will: Discuss what IDE’s are used for Go over the Eclipse IDE: –What is Eclipse? –How to install and set.
Installing SDCC Plug-in for Eclipse IDE
FIRST COURSE Creating Web Pages with Microsoft Office 2007.
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.
Introduction to CCSv5. Outline  Intro to CCSv5 Intro to CCSv5  Functional Overview Functional Overview  Perspectives Perspectives  Projects Projects.
November 3, 2011 Deborah de Bruin Building Digital Libraries.
Getting Started with Eclipse Sandeep Pasuparthy. What’s Eclipse? It is a free software / open source platform- independent software framework for delivering.
ProSense BELGRADE Deploying SunSPOT SDK and Emulator on your Desktop or Laptop Computer Author: Stanislava Stanković, B.Sc. student of the School of Electrical.
1 eclipse Tips. 2 What is eclipse? Eclipse is a popular IDE (Integrated Development Environment) that we will use to create, compile, execute, and test.
Eclipse Overview Introduction to Web Programming Kirkwood Continuing Education Fred McClurg © Copyright 2015, Fred McClurg, All Rights Reserved.
Selenium Web Test Tool Training Using Ruby Language Discover the automating power of Selenium Kavin School Kavin School Presents: Presented by: Kangeyan.
Selenium Web Test Tool Training Using Ruby Language Discover the automating power of Selenium Kavin School Kavin School Presents: Presented by: Kangeyan.
Chapter 1a© copyright Janson Industries RAD ▮ Explain Eclipse, RAD, and their relationship ▮ Basic RAD concepts ▮ How to install RAD ▮ How to import.
Android. The Eclipse IDE Installation Requirements: Eclipse Java Windows All must match (32-bit OR 64-bit) If you have a 64-bit OS & 32-bit browser,
Introduction to Android. Android as a system, is a java based operating system that runs on the Linux kernel. The system is very lightweight and full.
IT 211 Project Integration and Deployment Lab #11.
Setting up Eclipse Computer Organization I 1 August 2009 ©2009 McQuain Getting Eclipse for C/C++ Development Go to and click on Download.
SOA-30: Getting the Most Out of Sonic ™ Workbench Turbo-boost your Development Productivity Sachin Hejip Director, Tooling Center of Expertise Bill Wood.
Setting Up The Android SDK (Software Development Kit) A basic step by step guide leading to set up and your first Hello World App.
Workbench Overview Dwight Deugo Nesa Matic
Plug-in Development Environment. Session Outline Tools Installation Configuration New Project Basic Debugging Remote Debugging.
Introduction to Eclipse CSC 216 Lecture 3 Ed Gehringer Using (with permission) slides developed by— Dwight Deugo Nesa Matic
Prachi Chitnis.  The CSS feel  SDS – Synoptic Display Studio  ADL Converter  PV table, Probe…
1 Creating an RTC Hot Fix September 18, Steps for creating a hot fix Find the work item where the defect is resolved. Check for existing hot fixes.
Selenium Web Test Tool Training Discover The Automating Power Of Selenium Author : Girija Prasad Panda Alcatel-Lucent.
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.
Setting Up Eclipse. What is Eclipse? Eclipse is a free, downloadable software that allows us to create, compile, and run JAVA programs.
GumTree Development Environment Setup Windows Only Compatible with Eclipse 3.2 M3 (Last update: 16/11/05)
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio Training - Development Setup.
Eclipse Basics Create projects Debug Import/Export: s/import_export/
Liferay Installation Prepared by: Do Xuan Hai 8 August 2011.
Refactoring and Synchronization with the StarTeam Plug-in for Eclipse  Jim Wogulis  Principal Architect, Borland Software Corporation.
First Venture into the Android World Chapter 1 Part 2.
Managed by UT-Battelle for the Department of Energy Kay Kasemir, Xihui Chen ORNL/SNS April Control System Studio Training - Development.
Using This PowerPoint This PowerPoint presentation assumes your Computer Science teacher has provided you with the InstallingJava folder, which contains.
1 Installing Java on Your PC. Installing Java To develop Java programs on your PC: Install JDK (Java Development Kit) Add the directory where JDK was.
1 Getting Started with C++ Part 1 Windows. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Microsoft.
Installing MDT in Eclipse 2 Download Eclipse Classic
Loader Tutorial Set Up. Requirements Java 7 Eclipse IvyIDE plugin Git Optional: Ant Maven.
An EPICS IDE Using Eclipse Kenneth Evans, Jr. Presented at the EPICS Collaboration Meeting June 15, 2006 Argonne National Laboratory, Argonne, IL.
Azure App Service Ali Siddiqui Principal Software Engineer Azure, Microsoft 1.
CF Eclipse Nick Kwiatkowski Michigan State University, Physical Plant 8/8/2006.
CSS Build and Update System Kunal Shroff EPICS Fall Collaboration Meeting, June 2010 Aix-en-Provence.
IBM Worklight environment setup 1. Eclipse IDE Multi-purpose integrated development environment (IDE) Open source Supported for Windows, Mac OS X, Linux.
Chapter 1a© copyright Janson Industries RAD ▮ Explain Eclipse, RAD, and their relationship ▮ Basic RAD concepts ▮ How to install RAD ▮ How to import.
Introducing IBM Rational Software Architect
Getting Eclipse for C/C++ Development
Obtaining the Required Tools
Eclipse Navigation & Usage.
Android 基礎.
CCA Skill Certification
How to use WEBDAV in CIRCABC Pierre Beauregard
Install Ruby If you are running on Mac OS X, Ruby is preinstalled.
Software Setup & Validation
Tutorial 7 – Integrating Access With the Web and With Other Programs
Getting Eclipse for C/C++ Development
Java Code Review with CheckStyle
RapidFinder Analysis Software How-To Guide
Presentation transcript:

Objectives Update IDE used to develop AWIPS2 plugins  Learn about API Baseline/Target Platform  Configure formatter and code templates

Problem AWIPS2 built off 3 year old version of Eclipse RCP  Difficult to migrate from Eclipse v3->v4, APIs changed  Eclipse updated every 6 months  AWIPS2 development more focused on forecasting functionality, not updating FOSS  Can take 6 months to year for AWIPS version to hit field, by then new version of Eclipse is out.  Hopefully AWIPS core updates to v4.4.2 first thing  IDE is improved with every iteration, developers should be able to take advantage of it, no reason to use 3 year old IDE

Process Download desired version of Eclipse IDE (RCP version) Create template workspace  Configure workspace settings and install extra plugins (pydev, cdt, etc) Setup Target Platform/API Baseline Import Plug-ins

Download Eclipse Choose Linux/64bit Unpack and edit eclipse.ini file  -XX:MaxPermSize=512m  -Xmx2048m

Start New Workspace Launch eclipse and create workspace named 'eclipse template'  Allows me to configure an empty workspace exactly how I want it  Can copy template to workspace I want to work out of and keep settings I configured before. Change theme back to classic  Window->Preferences  General/Appearance, set Theme: to Classic Install extra plugins Configure workspace settings

Install Extra Plugins Help->Eclipse Marketplace...  Might have to configure proxy settings prior Window->Preferences. General/Network Connections. Change to Manual and edit values. (Restart may be required) Search for desired plugin and install

Install Extra Plugins If software not in marketplace: Help->Install New Software... Look up online and add update site manually

Install Extra Plugins Update site not working, manually download archive file and select “Archive...” button instead of http url.

Configure Workspace Settings Specify /awips2/java install Import Code Formatter Java Save Actions Editor line numbers Customize anything you want carried over to all workspaces

Specify AWIPS Java install Window->Preferences Java/Installed JREs Add... “Standard VM” and browse to /awips2/java. Give name like “AWIPS Java”

Import Code Formatter AWIPS Repo provides custom formatter Allows code to be easily compared between AWIPS developers since line wrapping and whitespace will all match (especially in Gerrit where you can't specify ignore white space) Window->Preferences. Java/Code Style/Formatter “Import...” /path/A2DevRepo/edexOsgi/build.edex/opt/eclipse/formatter.xml

Java Save Actions Window->Preferences  Java/Editor/Save Actions Select “Perform the selected actions...”  Select “Format source code” and “Organize Imports”

Editor Line Numbers Used to be off by default, now appears to be on by default Window->Preferences  General/Editors/Text Editors  Select “Show line numbers”

Extra Customizations I like to change layout of views in Java and Debug perspectives. I like to have heap usage shown in status bar.  Window->Preferences. General

Configure Workspace Settings Close Eclipse to settings are persisted  File->Exit Copy eclipse template folder to actual workspace you want to work out of. Open copied workspace folder and begin work

Setup Target Platform Need to configure Eclipse install our plugins will be compiled against Window->Preferences  Plug-in Development/Target Platform  Add... “Nothing: Start with an empty target definition”  Name: AWIPS Target Platform  Add... “Installation” browse to AWIPS2 Eclipse root folder. “Finish”  Select “AWIPS Target Platform” to make “Active”  Hit Apply and OK.

Setup Target Platform

Setup API Baseline Need to configure Eclipse install our plugins will be compiled against Window->Preferences  Plug-in Development/API Baseline  Add Baseline... Name: AWIPS API Baseline  Browse... to AWIPS2 Eclipse root folder. “Finish”  Apply and OK.

Wrap Up IDE is now ready for use. Import plugins through git normally All should compile properly