Cushion for SOFA 2. Table of contents. 1 Overview Cushion commands... 2

Similar documents
Deploying an IVR Web Application

Configuration Export and Import

Verification, Validation & Traceability Nightmares? 5-ways to streamline these processes. Simplicity AI Jul-15 COMMERCIAL IN CONFIDENCE

About the integration of IBM Content Collector with IBM Classification Module

Build. System building

How to transfer data between BPMonline 7.x environments

Vision of J2EE. Why J2EE? Need for. J2EE Suite. J2EE Based Distributed Application Architecture Overview. Umair Javed 1

MRCP. Installation Manual. Developer Guide. Powered by Universal Speech Solutions LLC

SOFA 2 RUNTIME SUPPORT FOR DYNAMIC LANGUAGES Jaroslav Keznikl

Outline. Configuration management. Main Phases MOTIVATION

Deploying Cisco Nexus Data Broker

How to use J2EE default server

[Course Overview] After completing this module you are ready to: Develop Desktop applications, Networking & Multi-threaded programs in java.

Creating Domain Templates Using the Domain Template Builder 11g Release 1 (10.3.6)

Getting Started with Command Prompts

IBM Security Identity Governance and Intelligence. SAP HANA Database Adapter Installation and Configuration Guide IBM

EPICS Add On Products SourceRelease Control

Exam Actual. Higher Quality. Better Service! QUESTION & ANSWER

Installing or Upgrading the Cisco Nexus Data Broker Software in Centralized Mode

TIBCO ActiveMatrix BusinessWorks Plug-in for REST and JSON Installation. Software Release 1.0 November 2012

Sentences Installation Guide. Sentences Version 4.0

ITdumpsFree. Get free valid exam dumps and pass your exam test with confidence

OPERATING SYSTEMS, ASSIGNMENT 4 FILE SYSTEM

PTC Integrity Integration With Microsoft Visual Studio (SDK)

Construction: version control and system building

SOFA 2 Component System

TIBCO ActiveMatrix BusinessWorks Installation

B. Assets are shared-by-copy by default; convert the library into *.jar and configure it as a shared library on the server runtime.

Vendor: IBM. Exam Code: A Exam Name: Assessment: IBM WebSphere Appl Server ND V8.0, Core Admin. Version: Demo

Unified CVP Migration

WA2031 WebSphere Application Server 8.0 Administration on Windows. Student Labs. Web Age Solutions Inc. Copyright 2012 Web Age Solutions Inc.

UNIT 5 - UML STATE DIAGRAMS AND MODELING

EMC ApplicationXtender SPI (for SharePoint Integration)

Anno Accademico Laboratorio di Tecnologie Web Introduzione ad Eclipse e Tomcat

C IBM. IBM WebSphere Application Server Network Deployment V8.0 Core Administrati

Tools for software development:

Policy Manager for IBM WebSphere DataPower 7.2: Configuration Guide

Lab5. Wooseok Kim

Common Configuration Management Tasks: How to Do Them with Subversion

Git. Charles J. Geyer School of Statistics University of Minnesota. Stat 8054 Lecture Notes

Chapter 1 GETTING STARTED. SYS-ED/ Computer Education Techniques, Inc.

EVALUATION ONLY. WA2097 WebSphere Application Server 8.5 Administration on Linux. Student Labs. Web Age Solutions Inc.

Oracle Warehouse Builder. Oracle Warehouse Builder. Quick Start Guide. Jean-Pierre Dijcks, Igor Machin, March 9, 2004

INSTALLING AND DEPLOYING ADOBE EXPERIENCE MANAGER FORMS ON JEE FOR JBOSS

J2EE Interview Questions

Development tools: Version control, build tools, and integrated development environments 1

X100 ARCHITECTURE REFERENCES:

Text Data Processing Entity Extraction Dictionary File Generator User's Guide SAP Data Services 4.2 (14.2.0)

SOFA NetBeans Module

Java 2 Programmer Exam Cram 2

IBM Support Assistant Lite for IBM InfoSphere Information Server. User s Guide. Release Updated 12-December-2017


XDS Connector. Installation and Setup Guide. Version: 1.0.x

Revision Control II. - svn

BEAWebLogic. Server. Deploying Applications to WebLogic Server

Security Correlation Server Backup and Recovery Guide

SAS Web Infrastructure Kit 1.0. Overview, Second Edition

Chapter 2 WEBLOGIC SERVER DOMAINS. SYS-ED/ Computer Education Techniques, Inc.

ECM-VNA Convergence Connector

CS 390 Software Engineering Lecture 3 Configuration Management

An Integrated Approach to Managing Windchill Customizations. Todd Baltes Lead PLM Technical Architect SRAM

CHARLES UNIVERSITY, PRAGUE FACULTY OF MATHEMATICS AND PHYSICS. Master Thesis. Michael Cífka Visual Development of Software Components

IBM z Systems Development and Test Environment Tools User's Guide IBM

Upgrade a FireAMP Connector on Windows Operating Systems

AADL to build DRE systems, experiments with Ocarina. Jérôme Hugues, ENST

PRIMIX SOLUTIONS. Core Labs. Java Build Environment

FTP Extension Installation & User Guide

An Oracle White Paper February Combining Siebel IP 2016 and native OPA 12.x Interviews

Version Control. Version Control

Distributed Model Verification Using Map-Reduce. Presented By Fathiyeh Faghih

A NET Refresher

Subversion. CS 490MT/5555, Fall 2015, Yongjie Zheng

The Bliss GUI Framework. Installation Guide. Matías Guijarro

Pentaho Data Integration (PDI) Development Techniques

Java EE Application Assembly & Deployment Packaging Applications, Java EE modules. Model View Controller (MVC)2 Architecture & Packaging EJB Module

LPF Training Handbook!

TIBCO ActiveMatrix BusinessWorks Plug-in for Microsoft SharePoint Installation

System Administrator s Guide Release 7.3.5

SQUASH-TA FRAMEWORK 1.10

Chapter 4 Defining Classes I

CIS-CAT Pro Dashboard Documentation

Portions adapted from A Visual Guide to Version Control. Introduction to CVS

Distributed Multitiered Application

Programming in the large. Lecture 22: Configuration Management. Agenda for today. Bertrand Meyer. Bernd Schoeller

Perceptive Enterprise Deployment Suite

How To Guide Using and Developing Custom Phases in IKAN ALM

Intelligence on Demand. Elixir Report Migration Guide

Hierarchical vs. Flat Component Models

Software configuration management

Java 2 Platform, Enterprise Edition: Platform and Component Specifications

Lab Objective. Lab Assignment. Downloads and Installation

Creating a new CDC policy using the Database Administration Console

SAS/IntrNet 9.3. Overview. SAS Documentation

HPE Security Fortify Plugins for Eclipse

PM Database Setup Oracle FLEXCUBE Universal Banking Release [May] [2016]

INSTALLING AND DEPLOYING ADOBE EXPERIENCE MANAGER FORMS ON JEE FOR WEBLOGIC

SAS Integration Technologies Server Administrator s Guide

SUN Enterprise Development with iplanet Application Server

POSSE pbuild Utility

Table of Contents. Installation Preface... 1 Prerequisites... 1 Installation Procedure... 1

Transcription:

Table of contents 1 Overview... 2 2 Cushion commands... 2

1. Overview Cushion is a command line tool for developing SOFA 2 components. It is delivered as a separated archive (see Download). It contains directory bin, in which the launching script reside (there are two variants of the script: cushion.sh for the UNIX-like systems and cushion.bat for Windows systems. The first parameter of the Cushion represents a command which has to be executed. The Cushion works with a current directory; it stores in it all generated files and also its own configuration, which is located in the.cushion file (do not edit the file by hand). A typical usage scenario is to develop a single application (i.e. set of components forming a single application) in a single directory. This directory can be seen as a current working project. Note: In addition to the.cushion file, the Cushion can generates other "configuration" and temporary files all with the leading dot in the name. Do not edit or delete such files unless you are absolutely sure. 2. Cushion commands help prints a short help and all available commands. Use cushion help <command> for help on a specific command. new creates new interface, frame, or architecture. cushion new <interface, frame, architecture> <initial, next> name [<tag> -v <previous_version>] 2nd parametr specifies what has to be created. 3rd parametr defines, which version has to be created. initial means to create an initial version of the given name. It will be successfull only if there is no version of the given name. next means to create a subsequent version of the version given as a 5th parameter. 4th parametr is the name of the element to be created. 5th parametr has to be specified only if a subsequent version (next) has to be created. With the option -v, the parameter means a version identifier; without it, it means a version tag. The new command creates a new element in the repository and also generates a new ADL file in a subdirectory of the current directory. The subdirectory has the same name as the created element; the ADL file is named as adl.xml. This ADL file should be completed and changes subsequently commited to the repository by commit command. tag adds a tag for an entity. Page 2/6

cushion tag tag_value name [<tag> -v <version>] 2nd parameter is the added tag 3rd parameter is a name of the entity to which the tag has to be added 4th parameter is the optional version specification; without it, the current working version of the entity is tagged (if exists) commit command commits changes of the working elements to the repository. cushion commit [name_of_the_commited_element] Without 2nd parameter, it commits changes of all working elements. Note: it commits just changes in ADL files. checkout command checks out an entity from the repository for further editing. cushion checkout name [<tag> -v <version>] Without the version identifier or tag, it "guesses" a version. update command updates working elements from the repository. cushion update [name] Without the name it updates all working elements. WARNING - after executing this command, all uncommited changes will be lost! At first glance, this command is similar to the checkout command but the update can be used only on elements previously created and/or checked out. compile command compiles Java code of a particular entity (interface type or architecture). The code has to be located in the code subdirectory of the particular entity directory. If the entity depends on other entities (e.g. architecture on interface types), these are checked out (if not yet checked) and their code is compiled as well (if it has not been compiled yet). cushion compile [name] Without the name it compiles all working elements (which can be compiled). upload command takes code of the elements (interface types or architectures) and uploads it as a codebundles to the repository. cushion upload [name] Without the name parameter, it uploads all working interface types and architectures. NOTE: it DOES NOT automatically (re)compile code before uploading. assembly creates new assembly descriptor. Page 3/6

cushion assembly <initial, next> name [<tag> -v <previous_version>] \ toplevelarchitecture [<architecture_tag> -v <architecture_version>] 2nd parametr has the same meaning as 3rd parameter of the new command 4nd parametr has the same meaning as 5rd parameter of the new command the toplevelarchitecture is the name (optionally followed by the version) of the architecture which should serve as a top-level component in the application. the parameter following the toplevelarchitecture parameter allows to choose a particular version of the architecture; without it, the cushion "guesses" it This command pregenerates the assembly descriptor. The user should continue and recursively assign the architectures of subcomponents. Do not forget after editing assembly descriptor to commit it. print command prints various information based on further parameters. allimplements takes other two parameters, name of a frame and its version and prints all architectures that implement the frame. This action can be useful during filling in an assembly descriptor. all prints out all interface types, frames, architectures, assembly descriptors and deployment plans stored in the repository. deplplan creates new deployment plan. cushion deplplan <initial, next> name [<tag> -v <previous_version>] \ assembly_descr [<assembly_descr_tag> -v <assembly_descr_version>] Meaning of the parameters is the same as parameters of the assembly action; just this action takes an assebly descriptor from which creates the deployment plan. The user should then fill in the deployment plan (set names of deployment docks, where the particular components should be launched) and use the deploy action to generete connector according the deployment plan. deploy uses a deployment plan and generates connectors according to it. An application is ready to launch after execution of this action. cushion deploy depl_plan_name The deployment plan has to be already created (via the deplplan action) and filled in. status prints out all current working entities, their type and other information. remove deletes an entity from the working directory (but it does not delete the entity from the repository. cushion remove name Page 4/6

bcheck verifies behavior compliance of architecture components. cushion bcheck (dchecker ebpspin) architecture dchecker causes checking compliance using specification in original Behavior Protocols, while ebpspin enables verification of specification in Extended Behavior Protocols using the Spin model checker. Note: More information about behavior specification and verification can be found on the fomal methods documentation page and on the publication page. jpfcheck checks Java code of all primitive components in a given assembly (or a primitive architecture) with JPF. cushion jpfcheck {assembly primitive architecture} [properties file with environment-related information] This action is applied to the current version of a given assembly (or a primitive architecture) that is available in the working directory. Therefore, it is necessary to use the checkout action before jpfcheck to retrieve the assembly (or the architecture) from the repository. The properties file can provide (i) the name of Java class with custom specification of method parameter values and (ii) the name of a directory where generated files should be stored. Default values are, respectively, org.objectweb.dsrg.sofa.envgen.emptyvalueset and <path to working directory>/_env. Example of the properties file: valuesets.class=org.objectweb.dsrg.sofa.envgen.emptyvalueset temporary.directory=_env Note also that this action does not work on components, whose Java implementation involves e.g. GUI or network communication, since JPF has limited support of Java classes that contain native methods. Currently, only the core classes like Thread and file I/O-related classes are supported. exec performs a list of cushion actions stored in a text file. cushion exec <text file with a list of cushion actions> The command executes a list of actions stored in the given text file. Each action is defined on a separate line and described only by its parameters (cushion keyword is omitted): # this is a comment new interface initial foo.ilog Page 5/6

new frame initial foo.flog Page 6/6