Documente Academic
Documente Profesional
Documente Cultură
ClearCase
ClearCase is a Software Configuration Management System from IBM Rational Software, Inc. It keeps track of which versions of which files were used to build each release of a software product and it helps organize the work of groups of engineers. It contains a database, but it also contains many special applications which are tailored to facilitate the tasks engineers perform.
ClearCase Benefits
ClearCase
time.
Parallel
development Mostly-automated merging Derived object sharing Distributed builds Fast, extensible database
ClearCase Weaknesses
Cost
of Ownership
ClearCase costs more than free, open-source, and some other commercial SCMs
Speed
ClearCase views are slower than local file systems, even with good network infrastructure
Sensitivity
to network problems
Clearcase Views
Views
are required in order to use Clearcase. A unique view assigned to a user will:
Allow a developer access to the VOB data (source code storage) Provide a workspace are where users can privately modify VOB data without disturbing the view of the VOB data held by other developers. Changes are only accessible by others when a file is checked into the VOB from the users private space.
view
Changes and updates by others are not available to a snapshot view until a new "snapshot" is taken.
Web
view
Web interface.
Dynamic
view
Access to all versions of VOB elements and view private objects as they are checked into the VOB.
ClearCase Commands
Almost
similar to Unix commands Provide detailed information about a piece of code or document as well as facility to retrieve any previous stored copy of the same entity Easy to understand and use
Clearcase Commands
Check
Out / Check In View File History View Files / Checked Out Files VIEW Related Commands ClearCase Elements Listing Private Files/Folders
NOTE: Normally cleartool command will be aliased to ct. Readers can alias cleartool as ct and use in their development environment.
Commands
CHECK
OUT
Reserved mode
cleartool
Un-Reserved mode
cleartool
Undo checkout:
cleartool
10
Commands
CHECK
IN
ci a.c
cleartool
VIEW
FILE HISTORY
cleartool
11
Commands
VIEW
FILES
ls
VIEW
cleartool
12
Commands
SET
CLEARCASE VIEW
setview <userviewname>
cleartool
UPDATE
update
13
Commands
DISPLAY
CURRENT VIEW
pwv
cleartool
LIST
ALL VIEWs
lsview
cleartool
14
Commands
CLEARCASE
cleartool
ELEMENTS
Making Elements
mkdir cleartool mkelem
rmelem
15
Commands
LIST
PRIVATE FILES/FOLDERS
cleartool
VERSION TREE
lsvtree
cleartool
16
Commands
mkbrtype <branchname>
CREATE
BRANCH
cleartool
17
Commands
catcs
EDIT
CONFIG SPEC
edcs
cleartool
18
Commands
FIND
FILES TO BE MERGED
ct
MERGING
ct
19
Reference
For
http://www.yolinux.com/TUTORIALS/ClearcaseCommands.html
20
END