CRSX plug-in development. Prerequisites Software and Libraries Eclipse RCP (3.5 or higher) –Go –Select.

Slides:



Advertisements
Similar presentations
Using T4Eclipse tool to Analyze Eclipse UI For t4eclipse version Ben Xu July 17,2010.
Advertisements

August 2012 This work is licensed under the Creative Commons Attribution 3.0 Unported License. To view a copy of this license, visit
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.
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.
Coursework 2: getting started (4) – using PhoneGap to build mobile applications (optional) Chris Greenhalgh G54UBI /
INF 123: Software Architectures, Distributed Systems, and Interoperability Discussion Session Week 3 - Spring 2008 Instructor: Prof. Richard N. Taylor.
Introduction to CVS 7/3/20151UMBC CMSC 341. Outline Introduction to Source Code Management What is CVS? CVS for Project Submission Basic commands Checkout,
Views Dwight Deugo Nesa Matic
By Steven Campbell and Erik Boone.  Sharing projects by putting them into a central repository.  Checking out copies of projects from the repository.
Getting Started with Eclipse Sandeep Pasuparthy. What’s Eclipse? It is a free software / open source platform- independent software framework for delivering.
Working with Drivers and Printers Lesson 6. Skills Matrix Technology SkillObjective DomainObjective # Understanding Drivers and Devices Install and configure.
JSP and Servlets Lecture notes by Theodoros Anagnostopoulos.
1 ISA Server 2004 Installation & Configuration Overview By Nicholas Quinn.
Version Control with Subversion. What is Version Control Good For? Maintaining project/file history - so you don’t have to worry about it Managing collaboration.
Chapter 12: Finale! Publishing Your Android App. Objectives In this chapter, you learn to: Understand Google Play Target various device configurations.
Eclipse Overview Introduction to Web Programming Kirkwood Continuing Education Fred McClurg © Copyright 2015, Fred McClurg, All Rights Reserved.
Project confidential Page 1 20-Jan-09 Integrated Project – EC FP AspireRFID Developers First CodeCamp Athens Information Technology Nikos Kefalakis.
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.
LLRP GUI Client User Guide
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.
Introduction to Eclipse CSC 216 Lecture 3 Ed Gehringer Using (with permission) slides developed by— Dwight Deugo Nesa Matic
Jan Hatje, DESY CSS ITER March 2009: Technology and Interfaces XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser 1 CSS – Control.
SVN in Eclipse Presented by David Eisler 10/09/2014.
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.
9/2/ CS171 -Math & Computer Science Department at Emory University.
Setting Up Eclipse. What is Eclipse? Eclipse is a free, downloadable software that allows us to create, compile, and run JAVA programs.
LDAP Authentication Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Eclipse 3.1 IDE Overview.
GumTree Development Environment Setup Windows Only Compatible with Eclipse 3.2 M3 (Last update: 16/11/05)
® Microsoft Office 2010 Integrating Word, Excel, Access, and PowerPoint.
Liferay Installation Prepared by: Do Xuan Hai 8 August 2011.
Installing Repast in the Eclipse IDE Charlie Gieseler 6/28/04.
Overview of PVSS 3.6 Oliver Holme IT-CO. 16/11/2006JCOP Project Team Meeting New features in 3.6 New Installer for PVSS on Windows New Qt User Interface.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Introduction Purpose  This course gives an overview of the Toolchain feature of the High.
® Microsoft Office 2010 Integrating Word, Excel, Access, and PowerPoint.
Tool Install How to download & install Java 6 & Eclipse updated version based on Dr. G. L. Ray’s slides.
Eclipse Project. Installing Visit to download a copy for your home computerhttp:// –Get Release version 3.0 (or.
Surya Bahadur Kathayat Outline  Ramses  Installing Ramses  Ramses Perspective (Views and Editors)  Importing/Exporting Example.
Jan Hatje, DESY CSS GSI Feb. 2009: Technology and Interfaces XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser 1 CSS – Control.
Click the I Pro and select MANAGE and the PROJECTS. This will allow you to set up a folder that will contain the files for your current project. If you.
Loader Tutorial Set Up. Requirements Java 7 Eclipse IvyIDE plugin Git Optional: Ant Maven.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio Training - Extension Points:
An EPICS IDE Using Eclipse Kenneth Evans, Jr. Presented at the EPICS Collaboration Meeting June 15, 2006 Argonne National Laboratory, Argonne, IL.
Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting EPICS Training Client Tools EPICS collaboration meeting 2008.
TEAM FOUNDATION VERSION CONTROL AN OVERVIEW AND WALKTHROUGH By: Michael Mallar.
Editing and Debugging Mumps with VistA and the Eclipse IDE Joel L. Ivey, Ph.D. Dept. of Veteran Affairs OI&T, Veterans Health IT Infrastructure & Security.
CACI Proprietary Information | Date 1 PD² SR13 Client Upgrade Name: Semarria Rosemond Title: Systems Analyst, Lead Date: December 8, 2011.
CF Eclipse Nick Kwiatkowski Michigan State University, Physical Plant 8/8/2006.
PyDev: Python plug-in for Eclipse Yevgeniy Bangiyev 02/07/07 Yevgeniy Bangiyev 02/07/07.
ML-Dev: SML Plug-in for Eclipse Yevgeniy Bangiyev 02/07/07 Yevgeniy Bangiyev 02/07/07.
IBM Worklight environment setup 1. Eclipse IDE Multi-purpose integrated development environment (IDE) Open source Supported for Windows, Mac OS X, Linux.
Debugging RTC CLI in Eclipse
Obtaining the Required Tools
ATS Application Programming: Java Programming
Eclipse Plug-in for Authoring and Debugging Higher-order Rewriting
EPICS Training Client Tools
Microsoft FrontPage 2003 Illustrated Complete
CMPE 152: Compiler Design ANTLR 4 and C++
How to use WEBDAV in CIRCABC Pierre Beauregard
Install Ruby If you are running on Mac OS X, Ruby is preinstalled.
Control System Studio (CSS)
Software Setup & Validation
Rev Up Your Design Cycle With DesktopServer
Working with Libraries
Java Code Review with CheckStyle
Presentation transcript:

CRSX plug-in development

Prerequisites Software and Libraries Eclipse RCP (3.5 or higher) –Go –Select “Download” –Select “Eclipse for RCP/Plug-in Developers” –Download an eclipse archive file. –Uncompress the eclipse archive file. Jar file of CRSX –Go –Select “Download” –Download an archive file –Extract crsx.jar from the archive file Jar files of Antlr –Go –Download antlr-runtime jar –Download antlr jar

Register CRSX CVS server to eclipse Start eclipse RCP Open “CVS Repository Exploring” perspective Add new location –Connection type: extssh –Host: crsx.cvs.sourceforge.net –Repository path: /cvsroot/crsx/

Check out projects Start eclipse Open “CVS repository exploring” perspective Expand crsx location, Head, crsx-eclipse-plug- in Check out “crsx-feature” project Check out “crsx-plugin” project Check out “crsx-update- site” project

Jar Files Start eclipse Set the following jar files to “lib” directory in “crsx-plugin” project –crsx.jar –antlr-runtime jar –antlr jar

Create jar file for the eclipse plug-in Double click the “plugin.xml” in “crsx-plugin” project (Or open with “Plug-in Manifest Editor”) Select “Overview” tab Click “Export Wizard” link in “Exporting” section Set Directory path in “Destination” tab in “Export” dialog Click “Options” tab in “Export” dialog Select “Use class files compiled in the workspace” Click “Finish” button at the bottom of the dialog

Update plug-in version, and Upload jar for network installation Open “plugin.xml” in “crsx-plugin” project Click “Overview” tab, and fill the version number in “Version” text box in “General Information” section Export jar file of “crsx-plugin” project Open “feature.xml” in “crsx-feature” Click “Overview” tab, and fill the version number in “Version” text box in “General Information” section Click “Plug-ins” tab, and fill the version number in “Version” text box in “Plug-in Details” section Open “site.xml” in “crsx-update-site” project Select “net.sf.crsx.eclipse.plugin.category” in “Managing the Site” section Click “Add Feature” button Select “net.sf.crsx.eclipse.feature(x.x.x)” in “Feature Selection” dialog Click “Build All” button Go to the “crsx-update-site” with linux terminal –$rm plugins/net.sf.crsx.ruleEditor_ jar –$ cp../crsx-plugin/build/build/net.sf.crsx.ruleEditor_ jar.plugin/ –$ chmod +x upload.sh –$ upload.sh USERNAME The plug-in jar file created by update-site project is broken if the source code include multi byte character. So we have to replace it manually by plug-in jar created by the plug-in project

Start another eclipse with plug-in Right click the “crsx- plugin” project Select “Run As” Select “Eclipse Application”

Constant Values net.sf.crsx.eclipseplugin.Constants –Characters and String values which are shared with many classes are in this class

User preference CRSXRuleEditorPreferencePage –This class provides user level configurations. –Currently the following two items can be configured by uses Allow eclipse plug-in to invoke CRSX or not List-based outline view, or nested outline view by rule name

Rule Editor CRSRuleEditor –Core implementation of rule editor. This class reads and write files CRSRulePartitionScanner –This class splits rule file into some areas such as comment, embedded token CRSRuleScanner –Highlighting syntax for crsx rule CRSRuleEmbeddedScanner –Highlighting syntax for embedded token CRSXCharacterPairMatcher –highlighting corresponding braces, brackets, and so on.

Communication between CRSX and plug-in CRSXInvokeUtil –This class is the gateway class between CRSX and plug-in. All classes in plug-in invokes CRSX via this class.

Outline CRSXOutlinePage –This class is the core implementation for outline view. –This class gets rule tree object from CRSXInvokeUtil

Iterative Rewriting DebugView –This class is core implementation for iterative rewriting. CRSXRunnerThread –Iterative rewriting is executed on a different thread from eclipse’s thread. ObjectSharingObserver –This class is for sharing rule tree, and term with plug- in and CRSX whith are in different threads