Proposal for Property/Response Files reference and value substitutions Draft 0.3 Weijia (John) Zhang Dell Inc.

Slides:



Advertisements
Similar presentations
Chapter 11 Component-Level Design
Advertisements

CSS. CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to solve a problem External Style.
Cascading Style Sheets
HTML Overview - Cascading Style Sheets (CSS). Before We Begin Make a copy of one of your HTML file you have previously created Make a copy of one of your.
CHAPTER 7 STYLING CONTENT WITH CASCADING STYLE SHEETS.
Chapter 12 Creating and Using Templates. If you have already created and designed a page you like, you can use the layout and design for other pages in.
The Web Warrior Guide to Web Design Technologies
1 Frameworks. 2 Framework Set of cooperating classes/interfaces –Structure essential mechanisms of a problem domain –Programmer can extend framework classes,
Object-Oriented Enterprise Application Development Tomcat 3.2 Configuration Last Updated: 03/30/2001.
Python and Web Programming
Customizing Outlook. Forms Window in which you enter and view information in Outlook Outlook Form Designer The environment in which you create and customize.
Lesson15. JavaScript Objects Objects encapsulate data (properties) and behavior(methods); the properties and the methods of an object are tied together.
 2004 Prentice Hall, Inc. All rights reserved. Chapter 25 – Perl and CGI (Common Gateway Interface) Outline 25.1 Introduction 25.2 Perl 25.3 String Processing.
Shibboleth: New Functionality in Version 1 Steve Carmody July 9, 2003 Steve Carmody July 9, 2003.
1 CIS336 Website design, implementation and management (also Semester 2 of CIS219, CIS221 and IT226) Lecture 9 JavaServer Pages (JSP) (Based on Møller.
Java Server Pages CS-422. What are JSPs A logical evolution of java servlets –most servlets dynamically create HTML and integrate it with some computational.
JSP Standard Tag Library
1 Creating Web Forms in HTML Web forms collect information from customers Web forms include different control elements including: –Input boxes –Selection.
Cascading Style Sheets (CSS) Instructor: Mr. Ahmed Al Astal ITGD4104 Department Requirement for senior student University of Palestine Faculty of IT.
Robert Vitolo CS430.  CSS (Cascading Style Sheets)  Purpose: To provide a consistent look and feel for a set of web pages To make it easy to update.
Dreamweaver -- CSS. Dreamweaver -- MX New icons are added in MX Most of the features commonly used in web design, and are same as FrontPage. New feature.
Using Styles and Style Sheets for Design
Proposal for Property/Response Files reference and value substitutions Draft 0.1 Weijia (John) Zhang Dell Inc.
Using JavaBeans and Custom Tags in JSP Lesson 3B / Slide 1 of 37 J2EE Web Components Pre-assessment Questions 1.The _____________ attribute of a JSP page.
#N14 Pattern Value (aka Substring attribute) SDD 1.1 Proposal.
CNIT 133 Interactive Web Pags – JavaScript and AJAX JavaScript Environment.
® IBM Software Group © 2007 IBM Corporation JSP Custom Tags
The format is text files, with.htm or.html extension. Hard returns, tabs, and extra spaces are ignored. DO NOT use spaces in file names. File names ARE.
Display Text SDD 1.1 Topic. Current Situation COSMOS team is implementing a CLI for user interaction Need the ability to specify strings for display to.
JAVA SERVER PAGES. 2 SERVLETS The purpose of a servlet is to create a Web page in response to a client request Servlets are written in Java, with a little.
CL1 Proposal Redefine “install”. Add update artifact. Remove inconsistencies introduced by “baseUninstall” package type.
JAVA SERVER PAGES CREATING DYNAMIC WEB PAGES USING JAVA James Faeldon CS 119 Enterprise Systems Programming.
Object-Oriented Programming (OOP). Implementing an OOD in Java Each class is stored in a separate file. All files must be stored in the same package.
Adobe Dreamweaver CS3 Revealed CHAPTER THREE: WORKING WITH TEXT AND IMAGES.
Proposal for some suggested changes Draft 0.2 Weijia (John) Zhang Dell Inc.
ITCS373: Internet Technology Lecture 5: More HTML.
JSP Tag Libraries Lec Last Lecture Example We incorporated JavaBeans in “Course Outline” Example But still have to write java code inside java.jsp.
Display Text SDD 1.1 Topic. Current Situation COSMOS team is implementing a CLI for user interaction Need the ability to specify strings for display to.
Copyright © 2002 ProsoftTraining. All rights reserved. JavaServer Pages.
Tutorial 13 Validating Documents with Schemas
Web Development 101 Presented by John Valance
CS 330 Class 9 Programming plan for today: More of how data gets into a script Via environment variables Via the url From a form By editing the url directly.
Cascading Style Sheets CSS. Source W3Schools
Information Retrieval and Web Search Crawling in practice Instructor: Rada Mihalcea.
OOSSE Week 8 JSP models Format of lecture: Assignment context JSP models JSPs calling other JSPs i.e. breaking up work Parameter passing JSPs with Add.
Java Enterprise Edition Programming Page 1 of 9Configuring Servlets Web Application Context Name  In multiple web applications, a “context name” is used.
Microsoft ® Official Course Developing a Publishing Site for Web Content Microsoft SharePoint 2013 SharePoint Practice.
JAVA BEANS JSP - Standard Tag Library (JSTL) JAVA Enterprise Edition.
User Guide, 21 May 2009 © Copyright ISAteam 1 ISAconfigurator for ISAcreator User Guide Alpha version: May 2009 Contact:
GROUPING OBJECTS CITS1001. Lecture outline The ArrayList collection Process all items: the for-each loop 2.
#D8 Specification v1.0 Erratum #1 SDD 1.1 Proposal.
Proposal for Property/Response Files reference and value substitutions Draft 0.2 Weijia (John) Zhang Dell Inc.
 Packages:  Scrapy, Beautiful Soup  Scrapy  Website  
#N14 Pattern Value (aka Substring attribute) SDD 1.1 Initial Discussion XXX = [Proposal | Initial Discussion | General Direction Proposal]
XML CORE CSC1310 Fall XML DOCUMENT XML document XML document is a convenient way for parsers to archive data. In other words, it is a way to describe.
Securing Web Applications Lesson 4B / Slide 1 of 34 J2EE Web Components Pre-assessment Questions 1. Identify the correct return type returned by the doStartTag()
JavaScript and Ajax (JavaScript Environment) Week 6 Web site:
Scott Marino MSMIS Summer Session Web Site Design and Authoring Session 13 Scott Marino.
Lecture Transforming Data: Using Apache Xalan to apply XSLT transformations Marc Dumontier Blueprint Initiative Samuel Lunenfeld Research Institute.
Java Server Pages.
Metadata Editor Introduction
Introduction to XHTML.
Knowledge Byte In this section, you will learn about:
Arbitrary and Cascading Operations
JAR Files Objectives: 1. Archiving and Packaging Java Code
SDD 1.1 General Direction Proposal
Component-Level Design
Visual Studio 2010 SharePoint Development Tools Overview
Using Templates and Library Items
Presentation transcript:

Proposal for Property/Response Files reference and value substitutions Draft 0.3 Weijia (John) Zhang Dell Inc

Background and Problem Statement Operating Systems and Application installers use various property files and response file for the installation. These files include java property files, unattend files, kickstart files, inf file, ini files, HPQ package.xml file, and response.xml files etc. In order to use these files natively, the SDD will include information regarding these files

Changes from v0.1 to 0.2 per discussion with Randy and Christine The Response file content will be a separate file. The content of the response file will not be encapsulated in the SDD file through the RawData type. If the value of a parameter is specified in both SDD and the external response file, the one in the SDD will take precedent. The LanguageEncode parameter is removed as it is already represented in CharEncode. Add Artifact type to the AdditionalFile Define types of “ResponseFile”

Changes from v0.2 to 0.3 per discussion with Randy and Christine Remove “ResponseFile” type and use the one in the Purpose field. Remove the original page 4. Move up the substitution tag to the primary file level Reword precedence wording

Start SDD Handler Package- Descriptor.xml Parse Package Descriptor Deployment- Descriptor.xml Parse Deployment Descriptor Get Paramters/Values Substitute Parameters/Value to the response file Check for response file? Invoke InstallationUnit Yes No Work flow of parameter/value substitution for the response file

- … InstallArtifact without a Response File

… InstallArtifact with a Response File Changes: Add ResponseFile type to the AdditionalFile Add substitutionType and substitutionNumber to the parameter element

ResponseFile type: Potentially three sub-types a) open and structured b) open and unstructured; c) closed format. substitutionType: a)byString: Replace a string in the response file with the value of that parameter as specified in the SDD b)byName: Replace the value of the named parameter in the response file with the value as specified in the SDD. SubstitutionNumber: Specify Number of substitutions. Default to “all” Explanation of Substitute attributes

Linking SDD with the Additional (External) files The linkage between the SDD and the property/response files can be done via the following The SDD pointing to the Property/Response file via AdditionalFile tag. The file location should follow the general URL format. The parameter and value of the response file can be specified in the Parameter tag of SDD. When SDD runtime processes the parameters for the AdditionalFile, it will override the strings or values in the AdditionalFile. The ResponseFile type is specified in the file purpose. The response file can be Open-and-Structured (like property file), Open and non-structured, and close format. The ParameterType contains substitutionTYpe and substitutionNumber. The substitutionType can be by string or ByName. ByString means a pattern search and replacement and ByName means finding the name of the a particular parameter and replace it with value specified in SDD.

Substitution Algorithm additionalFile = Get_AdditionalFile(); If (Get_additionalFile_purpose() == ResponseFile) { foreach( getParameters() ) { if (get_substitutionType() == byString) { replaceString(additionaFile, get_parameterName, get_parameterValue); } else if (get_substitutitionType() == byName) { setValue(additionalFile, get_parameterName, get_parameterValue); }

Other questions and considerations How to find the replaceable names and values in the template file (AdditionalFiles) and SDD. Do we need to support Regular expression? Store of inventory result(?) AdditionalFile naming conventions (Do we need to support localized filename?) Do we support remote AdditionalFile location by using an URL? Mapping the name and value can be done by using URL name and value pair. Some definition can be used. Is there a need for a Property/Response file type? Is there a need for Property/Response file version?