Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan. 2013 Control System Studio Training - Development Setup.

Slides:



Advertisements
Similar presentations
Introduction to Eclipse cs112b1 – Lab01 by Rui Shi.
Advertisements

Managed by UT-Battelle for the Department of Energy Xihui Chen, Kay Kasemir ORNL/SNS April 2013 at IHEP Control System Studio Setup - Hierarchical.
Programming with Android: SDK install and initial setup Luca Bedogni Marco Di Felice Dipartimento di Informatica: Scienza e Ingegneria Università di Bologna.
ORNL is managed by UT-Battelle for the US Department of Energy Control System Studio: First Steps Kay Kasemir ORNL/SNS June 2014.
Managed by UT-Battelle for the Department of Energy Kay Kasemir, Xihui Chen ORNL/SNS April, 2013 Getting Started with CSS.
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.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS A lot of material from Nadine Utzel, ITER and BOY online help.
11-Jun-15 Getting Ready for CIT Registering and labs If you are not yet registered (and want to be), be sure I have your name and student ID We.
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
Eclipse Introduction Dwight Deugo Nesa Matic
Introduction to Android Studio
13-Jul-15 Getting Ready for Java. 2 What You Need 256 MB of RAM (512 MB or more recommended) 500 MHz Pentium or better Macintosh: must run Mac OS X, preferably.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio Training - Alarm System Use.
Setting up the Development Environment Copyright © SUPINFO. All rights reserved Preparation.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS April 2013 Control System Studio Training - Alarm System Use.
Managed by UT-Battelle for the Department of Energy Kay Kasemir, Xihui Chen ORNL/SNS 2012, April at SLAC Eclipse Products, Features, Plugins,
SEEM4570: XAMPP, Eclipse, Summary of Html Kangfei Zhao Room 711,ERB
JSP and Servlets Lecture notes by Theodoros Anagnostopoulos.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS April 2013 Control System Studio Training - Workspaces, Shared.
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.
Project Source Code Structure and Build Process ● Remember consistency matters as source code structure, build process, and release processes are all intertwined.
Eclipse Overview Introduction to Web Programming Kirkwood Continuing Education Fred McClurg © Copyright 2015, Fred McClurg, All Rights Reserved.
Understanding Eclipse Development Environment Hen-I Yang July 7, 2006
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.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2012, April at SLAC Control System Studio - Introduction.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio Training - Web OPI.
DUE Hello World on the Android Platform.
Eclipse Tutorial Barrett Summer Scholars 2011 Sustainable Engineering: Learning to Engineer Truly Green Products.
Presented By: Muhammad Tariq Software Engineer Android Training course.
Plug-in Development Environment. Session Outline Tools Installation Configuration New Project Basic Debugging Remote Debugging.
INF 123: Software Architectures, Distributed Systems, and Interoperability Discussion Session Week 1 - Spring 2008 Instructor: Prof. Richard N. Taylor.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Oct EPICS Meeting, PAL, Korea Control System Studio Training.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio Training - Archive System Setup.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Oct EPICS Meeting, PAL, Korea Control System Studio Training.
Prachi Chitnis.  The CSS feel  SDS – Synoptic Display Studio  ADL Converter  PV table, Probe…
Selenium Web Test Tool Training Discover The Automating Power Of Selenium Author : Girija Prasad Panda Alcatel-Lucent.
Welcome To Eclipse. Basic Concepts Workspace – directory where your projects are stored –Projects grouping of related works –Resources generic term to.
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 With slides from Xihui Chen May 2014 Control System Studio Training.
Eclipse Basics Create projects Debug Import/Export: s/import_export/
Liferay Installation Prepared by: Do Xuan Hai 8 August 2011.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2011, October at CEA Saclay, France Control System Studio.
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.
CSS Build and Update System Kunal Shroff EPICS Spring Collaboration Meeting, June 2010 Aix-en-Provence.
CVS Hudson Build Server krykhudson.desy.de:8282 User Developer.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2012, January 9-12 at NSRRC, Taiwan Control System Studio Training.
Development with Eclipse Software Engineering Prof. Werner Krandick.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2011, October at CEA Saclay, France Control System Studio.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS April 2013 Control System Studio, CSS Overview.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2012, January 9-12 at NSRRC, Taiwan Control System Studio Training.
All the dSoftArk Tools Getting started!. Tools dSoftArk is a semi-realistic, agile, development project –Industrial strength software (programming, TDD,
Loader Tutorial Set Up. Requirements Java 7 Eclipse IvyIDE plugin Git Optional: Ant Maven.
® IBM Software Group © 2006 IBM Corporation Rational Asset Manager v7.2 Using Scripting Tutorial for using command line and scripting using Ant Tasks Carlos.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio Training - Extension Points:
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS May 2014 Control System Studio Training - Hierarchical Preferences.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2012, April at SLAC Control System Studio Training - Alarm System.
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.
Objectives Update IDE used to develop AWIPS2 plugins  Learn about API Baseline/Target Platform  Configure formatter and code templates.
IBM Worklight environment setup 1. Eclipse IDE Multi-purpose integrated development environment (IDE) Open source Supported for Windows, Mac OS X, Linux.
Install Ruby If you are running on Mac OS X, Ruby is preinstalled.
Setting up an Eclipse project from a repository on GitHub
Java Code Review with CheckStyle
Presentation transcript:

Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio Training - Development Setup

2Managed by UT-Battelle for the Department of Energy Getting CSS to run from source code 1.Get Java, Eclipse, CSS Sources 2.Start Eclipse 3.“Import” Sources into Workspace 4.Open CSS *.product file, Launch

3Managed by UT-Battelle for the Department of Energy Java  Check: Is java available? java -version Need Sun/Oracle Java 1.6, 1.7; Not GCJ, OpenJDK

4Managed by UT-Battelle for the Department of Energy Eclipse Version  Eclipse just went from 3.x to 4.x  Most CSS Sources would ‘work’ with 4.x –Except BOY  Need Eclipse Can use Eclipse 4.x as the IDE, but “Target Platform” must be 3.7.2

5Managed by UT-Battelle for the Department of Energy Start Eclipse  Run eclipse/eclipse “Workspace”: use CSS/Workspace in your home directory  Suggest to check Preferences: –Java, Installed JREs: Is it the one you want?  Eclipse may automatically find a JRE, but you want the JDK for source-level debugging –Usage Data Collector: Disable capture? –Add (older) version of Eclipse as “Target Platform”?

6Managed by UT-Battelle for the Department of Energy Source Code vs. Eclipse Workspace  Source Code: –Where the sources are  Workspace: Directory with “.metadata” subdir. –Tracks currently open window, … To avoid confusion: Keep Separate! –Example: Use CSS/Sources, CSS/Workspace

7Managed by UT-Battelle for the Department of Energy Eclipse Workspace “Import” Sources into Workspace: –File/Import…, General, Existing Projects into Workspace –Select “root” directory, import all projects found –Do not “Copy projects into Workspace” Note: Need to “Import” even if sources are already located in workspace directory

8Managed by UT-Battelle for the Department of Energy Run Product Open org.csstudio.basic.epics.product/*.product Press 1.Synchronize 2.Launch an Eclipse application 3.Later, re-run via the Run button in toolbar

9Managed by UT-Battelle for the Department of Energy Fundamentally, that’s it  Product: –List of plugins –*.product file to run the product –IDE can also ‘export’ product binary  Feature: –Logical group of plugins –Allows online ‘install’, automated ‘update’

10Managed by UT-Battelle for the Department of Energy “Headless Build”  Command-line process to turn *.product or *.feature into binary  Can be scripted, launched from Hudson, …  Sadly, somewhat in parallel to IDE: –Specific directory layout  Need to copy sources into plugins/ and features/ folders –Additional build.properties file  Target platform, Java object code level,..

11Managed by UT-Battelle for the Department of Energy “Update Site”  Fundamentally, just a build option to create “P2 Metadata Repository” for products and features  Published on web site  Products can then –Install features from repository –Automatically update to latest version  Requires careful setting of dependencies and version numbers