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

V3 PubProcess - Property Files

From HL7Wiki
Revision as of 18:48, 29 September 2010 by Gwbeeler (talk | contribs)
Jump to navigation Jump to search

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 the "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:
      • 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 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.
      • 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 environment is driven by the NEW MIF-based processes in which the raw PubDb xml and "free-hand" document XML are convereted to MIF 2.2 and then published to HTML from there. (Recommended setting is "yes".)
    • env.desktoppub asserts whether or not the environment is intended for desktop publishing. If set to yes, this enables selected functions such as Visio PNG extraction, and automatic xml expression from PUbDb. (The recommended setting is "no".)
    • 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 an alternate directory listing.
    • VisioVersion declares the version of Visio installed on this machine. Two values are acceptable: "V2002" and "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 PubDb extract) 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...". in order to perform automated extraction of content from publication databases, etc., 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. (Note this installer is also sometimes used with Windows 7.) (The default is "no" for all non-Vista OS, and "yes" for Vista installations).
  • File "publish-global.properties" - is found in directory input/support/ant, and includes both 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 "Ballot2010Sep".
    • 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