home *** CD-ROM | disk | FTP | other *** search
- #---------------------------------------------------------------------------
- #
- # (c) Cayenne Software Inc. 1997
- #
- # File: @(#)vss_otsh.tcl /main/hindenburg/4
- # Author: Lex Warners
- # Description: VCM integration file
- #---------------------------------------------------------------------------
- # SccsId = @(#)vss_otsh.tcl /main/hindenburg/4 30 May 1997 Copyright 1997 Cayenne Software Inc.
-
- OTShRegister::codeGeneration
-
- require_module_file vstypemapp.tcl
- require_module_file otshvscmdh.tcl
-
- OtshVSCmdHandler new vsCommandHandler
-
- global systemCommand
- set systemCommand "system"
-
- # make subclass of ConfigVersion to give it different path name
- # needed to fool Configure Environment scripts
- # create the path if it did not exist
- # that's all we can do...
-
- Class VSConfigVersion : {ConfigVersion} {
- method path
- }
-
- method VSConfigVersion::path {this} {
- set path [fstorage::get_uenv_object_path $this]
- if { ![file isdirectory $path] } {
- global VSSystem
- if { ![$VSSystem::createUserPath $path] } {
- exit
- }
- }
-
- return $path
- }
-
- selfPromoter ConfigVersion {this} {
- VSConfigVersion promote $this
- }
-