+ All Categories
Home > Documents > Control System Studio Training - Development Setup

Control System Studio Training - Development Setup

Date post: 31-Dec-2015
Category:
Upload: lavinia-augustus
View: 28 times
Download: 0 times
Share this document with a friend
Description:
Control System Studio Training - Development Setup. Kay Kasemir ORNL/SNS [email protected] 2012, April at SLAC. Getting CSS to run from source code. Get Java , Eclipse, CSS Sources Start Eclipse “ Import ” Sources into Workspace Open CSS *.product file, Launch. Java, Eclipse. - PowerPoint PPT Presentation
6
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS [email protected] 2012, April at SLAC Control System Studio Training - Development Setup
Transcript
Page 1: Control System Studio Training - Development Setup

Managed by UT-Battellefor the Department of Energy

Kay Kasemir

ORNL/SNS

[email protected]

2012, April at SLAC

Control System Studio Training

-Development Setup

Page 2: Control System Studio Training - Development Setup

2 Managed by UT-Battellefor 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

Page 3: Control System Studio Training - Development Setup

3 Managed by UT-Battellefor the Department of Energy

Java, Eclipse Check: Is java available?

java -version

Need Sun/Oracle Java 1.6, 1.7;Not GCJ, OpenJDK

Start Eclipse eclipse/eclipse

“Workspace”:use CSS/Workspace in your home directory

Suggest to check Preferences:–Java, Installed JREs: Is it the one you want?

–Usage Data Collector: Disable capture?

Page 4: Control System Studio Training - Development Setup

4 Managed by UT-Battellefor 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

Page 5: Control System Studio Training - Development Setup

5 Managed by UT-Battellefor the Department of Energy

Eclipse Workspace

“Import” Sourcesinto Workspace:– File/Import…,

General,Existing Projectsinto 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

Page 6: Control System Studio Training - Development Setup

6 Managed by UT-Battellefor the Department of Energy

Run Product

Open org.csstudio.basic.epics.product/*.product

Press1. Synchronize

2. Launch an Eclipse application

3. Later, re-run via the Run button in toolbar


Recommended