You are previewing IBM Rational ClearCase 7.0: Master the Tools That Monitor, Analyze, and Manage Software Configurations.
O'Reilly logo
IBM Rational ClearCase 7.0: Master the Tools That Monitor, Analyze, and Manage Software Configurations

Book Description

Overview of IBM Rational ClearCase 7.0: Master the Tools That Monitor, Analyze, and Manage Software Configurations

  • Master ClearCase from the inside out: Go technical for consistent, well-structured, and robust software

  • Cut out chaos! Introduce order through reproduction with clearmake

  • Use and extend ClearCase in manageable collaborations

  • Design scalable and stable working practices with ClearCase MultiSite distribution

  • In Detail

    Undeniably, IBM Rational ClearCase is one of the major Software Configuration Management (SCM) tools on the market, and an integral part of a development environment. It introduced significant novelties into SCM, making it an original and insightful tool, and it's precisely these features that are often underutilized by ClearCase users. This book will show readers how to use ClearCase to its full potential and take advantage of its build auditing and dependency analysis applied to derived objects, workspace management with dynamic views, and its support for distributed development with ClearCase MultiSite. Through mastering ClearCase tools, this book will demonstrate that ClearCase is for users, and not only for the administrators.

    The book capitalizes on the main competitive advantage of ClearCase: that, thanks to build avoidance, ClearCase can focus on and identify derived objects through build management. This practical guide will help you master the tools for monitoring, analyzing, and managing software configurations with ClearCase.

    The book spends as little time as possible setting the scene. It delves straight into the ClearCase essentials of Build Management, which serves as the basis for the whole book.

    By the end of the book you will have learned how to master and optimize the various tasks pertaining to both administration and day-to-day development, in both a single-site and a multi-site environment. The emphasis is on ensuring the collaborative management of software development. Special attention is paid to third-party tool management under ClearCase and many practical examples are given, with a particular focus on the command line and scripting as a means to maximize flexibility and management over one's work.

    This book is a practical guide that highlights and demonstrates those specific functions not traditionally expected from an SCM tool, and supported only by ClearCase.

    Table of Contents

    1. IBM Rational ClearCase 7.0: Master the Tools That Monitor, Analyze, and Manage Software Configurations
      1. IBM Rational ClearCase 7.0: Master the Tools That Monitor, Analyze, and Manage Software Configurations
      2. Credits
      3. Foreword
      4. About the Authors
      5. About the Reviewers
      6. www.PacktPub.com
        1. Support files, eBooks, discount offers and more
        2. Why Subscribe?
        3. Free Access for Packt account holders
        4. Instant Updates on New Packt Books
      7. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Conventions
        5. Reader feedback
        6. Customer support
          1. Downloading the example code
          2. Errata
          3. Piracy
          4. Questions
      8. Teaser
        1. But first the scenario
        2. Time to review the exhibited functionality?
      9. 1. Using the command line
        1. Rationale (pun intended)
        2. Against intuition
          1. The continuity of reasoning
          2. Illustrations
        3. Text, shell, and terminal
        4. Perl
          1. Perl documentation
        5. Windows command prompt and alternatives
        6. GUI versus text mode
        7. ClearCase documentation
        8. Summary
      10. 2. Presentation of ClearCase
        1. SCM history
        2. ClearCase originality
          1. Virtual file system
          2. Auditing, winkin
        3. The main concepts
          1. Vobs and views
          2. Deeper into views
            1. Versioning mechanism
            2. Views properties
          3. Registry, License, and even Shipping servers
          4. Config specs
        4. Summary
      11. 3. Build Auditing and Avoidance
        1. Configuration records
          1. Flat or hierarchical: clearaudit vs. clearmake
          2. Makefile syntaxes—compatibility modes
          3. A first case with clearmake
          4. Recording the makefiles
          5. Using remote subsystems
          6. Remote dependencies
          7. Multiple evaluation of dependencies
        2. Validation
          1. Error reports and their analysis
          2. State of derived objects and reference count
          3. Removing derived objects
          4. Dependencies on the environment and on tools
          5. Reproducing the build
          6. Litmus test
        3. Tying some knots
          1. Ties between vobs and views
          2. Distributed or parallel builds
          3. Staging
          4. Application to other tasks than mere builds
        4. Summary
      12. 4. Version Control
        1. Making elements
        2. Checkout and checkin
          1. Versioned directories
          2. lost+found
          3. Removing files
          4. Looking at the view extended side of things
          5. Version tree
          6. Recovering files
          7. Hard links
          8. Evil twins
          9. Eclipsed files
          10. Writable copies
        3. Differences and annotations
        4. Misguided critiques
        5. Summary
      13. 5. MultiSite Concerns
        1. Distribution model
          1. Multitool, and MultiSite Licenses
        2. Replicas and mastership
          1. Avoid depending on mastership
          2. Branches
          3. Labels
          4. Other types
        3. Global types and admin vobs
        4. Shortcomings of MultiSite
        5. Summary
      14. 6. Primary Metadata
        1. Metadata in the version extended view
        2. Types and instances
        3. Labels or branches?
        4. Parallel development
          1. Config specs
          2. Floating and fixed labels
          3. Baselines and incremental labels
        5. Branches and branch types
          1. Delivery
          2. Archiving
          3. Rollback
        6. Use of locking
        7. Types as handles for information
        8. Summary—wrapping up of recommended conventions
      15. 7. Merging
        1. Patching and merging
          1. Patching text files
        2. Managing contributions
        3. Merging directories
        4. Rebase or home merge
        5. Complex branching patterns
        6. Rollback of in-place delivery
        7. Bulk merges
        8. Evil twins
        9. Summary—wrapping up
      16. 8. Tools Maintenance
        1. Why?
          1. Dependency control
          2. Safety with updates
            1. Explicitly declare tools as dependencies?
            2. ClearCase has better to offer!
          3. Referential transparency
          4. Flexibility
          5. Tool fixes
          6. Indirect dependencies
          7. MultiSite replication
        2. How?
          1. Example—perl installation under a ClearCase vob, with multi-platform support
            1. Importing CPAN modules
            2. Installing the Perl distribution
            3. Upgrading the distribution
          2. Installation
          3. Import
            1. Minor checks prior to importing
            2. Branching and labeling
            3. Issues during the import
          4. Operating system
          5. Shared libraries
          6. Licenses
          7. MultiSite and binary elements
          8. Labels, config specs, and multiple platforms
          9. Special cases: Java 1.4.2_05 on Linux
          10. Naming issues: acquisitions, splits, mergers
        3. Summary
      17. 9. Secondary Metadata
        1. Triggers
          1. NO_RMELEM
          2. CHECK_COMMENT
          3. REMOVE_EMPTY_BRANCH
        2. Comments
        3. Scrubbers
        4. Attributes
        5. Hyperlinks
        6. Type managers and element types
          1. The magic files
          2. User defined types
            1. Type without a new manager
            2. New type manager
        7. Native types
          1. Binary types
          2. Text type
        8. Summary
      18. 10. Administrative Concerns
        1. Top-down
          1. License and registry
            1. Synchronization between regions
          2. Monitoring client activity
          3. Location broker
          4. Remote monitoring infrastructure
          5. Scheduler
          6. Storage and backup
          7. Vob size
          8. Authentication
          9. Importing files to ClearCase
            1. Even UCM has to use Perl
          10. Relocating
          11. Importing with synctree
            1. ClearCase::Wrapper
          12. Copying a vob
            1. Moving vob storage
            2. Copying vob by replication
            3. Re-registering a replica
          13. Views cleanup
          14. ClearCase and Apache integration
          15. Installation tricks
        2. Bottom-up
          1. ALBD account problems
          2. Changing the type manager
          3. dbid and the Raima database
          4. Protecting vobs: protectvob, vob_sidwalk, fix_prot
          5. Cleaning lost+found
        3. Summary
      19. 11. MultiSite Administration
        1. Setting up the scenery
          1. Permissions preserving
          2. Connectivity
        2. Configuration
          1. Export
          2. Shipping/routing
          3. Import
          4. Receipt handler
          5. Shipping server
            1. Setting up the scheduler on a shipping server
        3. Monitoring
          1. Client side (remote host)
            1. Server side (local host)
          2. Troubleshooting
            1. Missing oplogs
            2. History of exports
            3. Consequences of replicas being out of sync
            4. Export failures
            5. Incompatibility between ClearCase releases
            6. MultiSite shipping problems—a tricky case
          3. Summary
      20. 12. Challenges
        1. Java
          1. Problems with the Java build process
          2. .JAVAC support in clearmake
          3. Ant and XML
          4. Audited Objects
        2. MultiSite
          1. Maven, and Buckminster
          2. Mercurial and git
        3. Perspectives in Software Engineering
          1. Eclipse and OSGI
          2. Virtual machines
        4. Conclusion
      21. 13. The Recent Years' Development
        1. Historical perspective
        2. Triggers
        3. Snapshot views
        4. Express builds
        5. UCM
        6. Web access and remote clients
        7. CM API
        8. Summary
      22. A. ClearCase Future
        1. ClearCase and IBM/Rational
        2. ClearCase and the software crisis
        3. ClearCase and the Open Source
        4. ClearCase is dead, long live ClearCase!
          1. The legacy of ClearCase
          2. Some errors to avoid, or the limits of ClearCase
            1. Let's work together
      23. B. Appendix
        1. Chapter 1
        2. Chapter 2
        3. Chapter 3
        4. Chapter 4
        5. Chapter 6
        6. Chapter 7
        7. Chapter 8
        8. Chapter 9
        9. Chapter 10
        10. Chapter 11
        11. Chapter 12
        12. Chapter 13
        13. Conclusion