mirror of
https://github.com/elliotnunn/BuildCubeE.git
synced 2026-01-23 19:16:18 +00:00
54 lines
2.5 KiB
Plaintext
54 lines
2.5 KiB
Plaintext
# File: AliasSourceServer
|
|
#
|
|
# Copyright Apple Computer, Inc. 1991
|
|
# All rights reserved.
|
|
#
|
|
#
|
|
# Scripts that have Projector commands within them can normally not be
|
|
# executed by ToolServer. Using SourceServer, the RProj tool, and three support
|
|
# scripts (AliasSourceServer, UnaliasSourceServer, and Directory2), ToolServer
|
|
# can perform Projector functions. SourceServer must be running on the same
|
|
# computer as ToolServer before the Projector scripts can be executed.
|
|
# Individual Projector command lines are sent from ToolServer to SourceServer
|
|
# via AppleEvents by the RProj tool. To allow RProj to automatically be invoked
|
|
# any time a Projector command is encountered, we use the AliasSourceServer
|
|
# script to alias each ProjectorCommand to "RProj ProjectorCommand". To make
|
|
# sure that the aliases remain in effect even after the AliasSourceServer script
|
|
# has finished running, we must use the command line, "Execute AliasSourceServer".
|
|
# Directory commands also need to be aliased to Directory2, which will keep the
|
|
# current directory of both ToolServer and SourceServer set to the same location
|
|
# so both Projector and non-Projector commands operate on the same set of files.
|
|
# This alias is also established by the AliasSourceServer script. Finally, after
|
|
# completion of the Projector commands, "Execute UnaliasSourceServer" restores
|
|
# ToolServer to it's normal operation.
|
|
#
|
|
# This file, AliasSourceServer, sets up aliases for ToolServer to reroute
|
|
# Projector commands, via the RProj tool, to SourceServer.
|
|
|
|
Alias CheckIn "RProj CheckIn"
|
|
Alias CheckOut "RProj CheckOut"
|
|
Alias CheckOutDir "RProj CheckOutDir"
|
|
Alias CompareRevisions "RProj CompareRevisions"
|
|
Alias DeleteNames "RProj DeleteNames"
|
|
Alias DeleteRevisions "RProj DeleteRevisions"
|
|
Alias MergeBranch "RProj MergeBranch"
|
|
Alias ModifyReadOnly "RProj ModifyReadOnly"
|
|
Alias MountProject "RProj MountProject"
|
|
Alias NameRevisions "RProj NameRevisions"
|
|
Alias NewProject "RProj NewProject"
|
|
Alias ObsoleteProjectorFile "RProj ObsoleteProjectorFile"
|
|
Alias OrphanFiles "RProj OrphanFiles"
|
|
Alias Project "RProj Project"
|
|
Alias ProjectInfo "RProj ProjectInfo"
|
|
Alias RenameProjectorFile "RProj RenameProjectorFile"
|
|
Alias TransferCkid "RProj TransferCkid"
|
|
Alias UnmountProject "RProj UnmountProject"
|
|
Alias UnObsoleteProjectorFile "RProj UnObsoleteProjectorFile"
|
|
Alias Directory "Directory2"
|
|
|
|
# Finally, we synchronize the current directory settings between both ToolServer
|
|
# and SourceServer by calling our newly aliased Directory command.
|
|
|
|
Directory > Dev:Null
|
|
|
|
# Now ToolServer is ready to execute any script containing Projector commands! |