Phil for Humanity

A Guide for the Survival of Humankind, and Improving the World, Society, and Yourself!


Popular Articles
  • Reasons For and Against
    Human Cloning
  • Globalization of the USA
  • The Pros and Cons of
    Capital Punishment
  • World's Stupidest Game

  • Latest Articles

  • How to Help Humanity
  • Why Economists Miss the Mark
  • Daylight Saving Time
  • Natural Log Proof
  • Subscribe to RSS Feed

  • Main Menu

  • HOME
  • SAVE HUMANITY (42)
  • HELP THE WORLD (96)
  • IMPROVE GOVERNMENTS (87)
  • PERSONAL DEVELOPMENT (238)
  • COMPUTER HELP (125)
  • ARCHIVE (all articles)
  • SEARCH THIS SITE
  • CONTACT US
  • DISCLAIMER
  • PLEASE HELP: DONATE

  • ClearCase Support: Advanced Config Specs (Part 2)


    Here is a sneaky shortcut when editing a Config Spec a lot. Don't!

    Instead, you can edit your Config Spec only once and have it point to a text file instead.

    #element * CHECKEDOUT
    include /tmp/config_spec_rules.txt
    #element * /main/LATEST

    Now you can more easily edit your Config Spec with your favorite editor, since it is now in a text file. This makes automating changes to your Config Spec much simpler too. Keep in mind that whenever editing the included file, the View will need to be alerted of a change using this refresh View command:

    cleartool setcs -current

    You can mix and match regular Config Spec rules with include rules in any order that you wish. And you can have any number of included files in your Config Spec, however you can not include a file from an include file. I assume this restriction is to prevent a possible infinite loop (i.e. an include file cannot include itself).

    by Phil B.

    Related Articles
     » ClearCase Support: Manipulating Config Specs
     » ClearCase Support: Advanced Config Specs (Part 1)
     » ClearCase Support: Understanding Config Specs







    Copyright © 2006-2009, Phil for Humanity. All Rights Reserved.