This wiki has undergone a migration to Confluence found Here
<meta name="googlebot" content="noindex">

Difference between revisions of "V3 PubProcess - Property Files"

From HL7Wiki
Jump to navigation Jump to search
 
Line 13: Line 13:
 
****'''''non.domains.special.other''''' are items that have unique processing requirements (such as the glossary and various index files.
 
****'''''non.domains.special.other''''' are items that have unique processing requirements (such as the glossary and various index files.
 
***'''''input.directory.structure''''' is a property indicating whether the input content has a pattern of subdirectories are the '''''traditional''''' ones (with sub-directories like sourcegraphics, databases, otherdistribution, etc.) or the '''''universalcontent''''' pattern that the Publishing Work Group intends to adopt in the future.  At present this tool suite only supports the "traditional" pattern.
 
***'''''input.directory.structure''''' is a property indicating whether the input content has a pattern of subdirectories are the '''''traditional''''' ones (with sub-directories like sourcegraphics, databases, otherdistribution, etc.) or the '''''universalcontent''''' pattern that the Publishing Work Group intends to adopt in the future.  At present this tool suite only supports the "traditional" pattern.
 
+
**:
 
**'''ENVIRONMENT DEFINITION section''' - determines the processing "methods" for the publishing process; directory locations for the "generator" and "output" components of the package that may be located other than in the root; and the version and location of software support tools like RoseTree and Visio. Specifically:
 
**'''ENVIRONMENT DEFINITION section''' - determines the processing "methods" for the publishing process; directory locations for the "generator" and "output" components of the package that may be located other than in the root; and the version and location of software support tools like RoseTree and Visio. Specifically:
 
***'''''env.mifbasedpub''''' asserts whether or not the publishing tool will use the NEW MIF-based publishing in which the raw PubDb xml and "free-hand" document XML are converted to MIF 2.2 and then published to HTML from there.  The default is "yes" and the alternate, using the "old" publication mathods has received less-thorough testing.
 
***'''''env.mifbasedpub''''' asserts whether or not the publishing tool will use the NEW MIF-based publishing in which the raw PubDb xml and "free-hand" document XML are converted to MIF 2.2 and then published to HTML from there.  The default is "yes" and the alternate, using the "old" publication mathods has received less-thorough testing.
Line 23: Line 23:
  
 
* <big>'''File "publish-global.properties"'''</big> - is found in directory '''''input/support/ant''''', and includes a few "configuration" properties, as well as many properties needed to define ANT scripts. Properties that provide "configuration" capability include:
 
* <big>'''File "publish-global.properties"'''</big> - is found in directory '''''input/support/ant''''', and includes a few "configuration" properties, as well as many properties needed to define ANT scripts. Properties that provide "configuration" capability include:
 
 
**'''''id.publication''''' provides an identifier that is included in the "header" material of each published specification. It should be set to the identifier for the current ballot cycle (assuming that one is publishing a ballot), such as "Ballot2011Jan". There is no default, the value must be asserted here.
 
**'''''id.publication''''' provides an identifier that is included in the "header" material of each published specification. It should be set to the identifier for the current ballot cycle (assuming that one is publishing a ballot), such as "Ballot2011Jan". There is no default, the value must be asserted here.
 
**'''''logic.appenddomainqa''''' determines whether or not to add a domain-specific quality assurance report to the table of contents and publication of each domain.(Preferred setting =yes).
 
**'''''logic.appenddomainqa''''' determines whether or not to add a domain-specific quality assurance report to the table of contents and publication of each domain.(Preferred setting =yes).

Latest revision as of 02:09, 1 June 2011

Property File Specifics: Property files list a number of name/value pairs for properties and their (string) value. The import process ignores all rows that begin with # or that are blank. As installed, all of the rows in the defined-environment.properties will be ignored. The default values are established in a "build" file, and will be over-ridden by any values asserted here. Thus, if you do not wish to use the default, you must assert a property here.

  • File "defined-environment.properties" - is found in the root directory of these tools. It is broken into two primary content areas:
    • LOCAL CONFIGURATION DEFINITION section - determines the document content that the user wished to process. Its properties include:
      • declared.datatype.release establishes whether the static model preparation and generation are intended to use Data Types Release 1 (R1), Release 1.1 (R11) or Release 2 (R2). Default is R2.
        To set a value other than the default for this (or any) property: remove the hash (#) from the beginning of the last line in this property definition, and place your selection (R1 or R11 or R2) immediately following the equals (=) leave no embedded or trailing space.
      • domains.active and domains.support are two comma-separated lists of two-character codes that identify a particular domain. These lists are combined to determine which domains will be processed for publishing and generating. The default for the former (.active) lists all the non-support domains (like "pa" or "rx") of interest, while the default for the latter (.support) lists the "common" domains needed to support publication (like "ct" and "ai"). If left unset, the values will default to all non-support domains for the former property, and all support domains for the latter.
        To set a value other than the default for this (or any) property: remove the hash (#) from the beginning of the last line in that property definition, and delete the domains in which you have no interest. Be sure to leave no embedded spaces or a trailing space.
        To exclude a selection list entirely: remove the hash (#) from the beginning of the last line in the property definition for that list, and delete everything after the equals (=). Thus to omit the domain analysis model list, the proprty file should include a line that reads "non.domains.dams=".
      • non.domains.general, non.domains.dams, non.domains.special.models and non.domains.special.other are comma-separated lists of non-domain content codes. These codes are usually the same as the file lower-case name for the document when it is submitted for publication. These lists are used to determine which non-domain content will be processed for publishing. If left unset, the values will default to items shown in the "defined-environment.properties" file. Specific documents in these lists include:
        • non.domains.general are all of the "infrastructure" and much of the "help" content that are not domain analysis models and whose content is defined as a free-hand document in XML. (For contrast, see "special" types below).
        • non.domains.dams are the domain analysis models being balloted.
        • non.domains.special.models are the items like the RIM that require special processing because their are based on a specific MIF-pattern rather than the more general "package" pattern. These are the RIM, Vocabulary and Data Types models.
        • non.domains.special.other are items that have unique processing requirements (such as the glossary and various index files.
      • input.directory.structure is a property indicating whether the input content has a pattern of subdirectories are the traditional ones (with sub-directories like sourcegraphics, databases, otherdistribution, etc.) or the universalcontent pattern that the Publishing Work Group intends to adopt in the future. At present this tool suite only supports the "traditional" pattern.
    • ENVIRONMENT DEFINITION section - determines the processing "methods" for the publishing process; directory locations for the "generator" and "output" components of the package that may be located other than in the root; and the version and location of software support tools like RoseTree and Visio. Specifically:
      • env.mifbasedpub asserts whether or not the publishing tool will use the NEW MIF-based publishing in which the raw PubDb xml and "free-hand" document XML are converted to MIF 2.2 and then published to HTML from there. The default is "yes" and the alternate, using the "old" publication mathods has received less-thorough testing.
      • env.desktoppub asserts whether or not the environment is intended for desktop publishing. If set to yes, this enables "conditional" extraction of PubXml from PudDb> This allows the processes to only extract from the PubDb when the current "pub xml" file has a "date rendered" that is later than the latest "last edit" date in the PubDb. The recommended setting (and default) is "yes". This more efficient processing.
      • set.dir.generator and set.dir.output allow the Generator, or the output directories to be located somewhere other than the root of this suite of tools. By default, both elements are co-located with the suite of tools. In order to relocate either, set these parameters to the "absolute path" (including drive letter) for the alternate directory listing, and use the UNIX forward slash (/) to delimit sub-directories in that path.
      • UseCoreMifAsVisioSource As of June 2011, the Visio software no longer requires an Access "Design Repository". It can now load from "coremif" MIF files for both RIM and vocabulary content. In the future, this will be the preferred form for releasing this data. This option selects whether or not to treat the "coremif" files as the preferred source. The default for this property is yes.
      • VisioVersion declares the version of Visio installed on this machine. Two values are acceptable: "V2002" and "V2003-7". (Visio 2010 is classed as "V2003-7".) This parameter must be correctly set in order to generate Visio graphics and "clickable" maps for static model designs. If it is not set, it will default to "V2002".
      • UsingVistaInstaller - HL7 Programs (RoseTree and the publishing widget for PubDb extracts) running under Vista are installed by default in directory "C:\HL7Programs\HL7...", while the same programs on Windows XP are installed in "C:\Program Files\HL7...". This change is accomplished by using the [[Installing_and_Configuring_HL7_Tools#Installation_of_HL7_Tools_on_Windows_Vista |HL7 Tools Vista Installer] for installing RoseTree on Vista and for some, on Windows 7. In order to perform automated extraction of content from publication databases and Visio, the suite of tools needs to know the installation directory being used. This property should be set to "yes" if the "HL7ToolsVistaInstaller" was used to install the tools in the alternate directory. (The default is "no".)
  • File "publish-global.properties" - is found in directory input/support/ant, and includes a few "configuration" properties, as well as many properties needed to define ANT scripts. Properties that provide "configuration" capability include:
    • id.publication provides an identifier that is included in the "header" material of each published specification. It should be set to the identifier for the current ballot cycle (assuming that one is publishing a ballot), such as "Ballot2011Jan". There is no default, the value must be asserted here.
    • logic.appenddomainqa determines whether or not to add a domain-specific quality assurance report to the table of contents and publication of each domain.(Preferred setting =yes).
    • copyQaSourceFromGen determines whether or not the source files are producing a quality assurance report are automatically copied from the Generator. (These files include MessageReferences.xml, and others.) (Preferred setting =true)

Jump to Publishing Process "Root" Page