IPnom Home • Manuals • ClearCase

 Rational ClearCase Commands Reference

ClearCase Stuff:ClearCase LinksClearCase BooksClearCase Commands ReferenceClearCase ForumsClearCase News
Keyword Live Search (10 results max):
 Type in part of a ClearCase command in the search box.
 
Commands Index:
  intro
  annotate
  apropos
  catcr
  catcs
  cc.icon
  cc.magic
  cd
  chactivity
  chbl
  checkin
  checkout
  checkvob
  chevent
  chflevel
  chfolder
  chmaster
  chpool
  chproject
  chstream
  chtype
  chview
  clearaudit
  clearbug
  cleardescribe
  cleardiffbl
  cleardiff
  clearexport_ccase
  clearexport_cvs
  clearexport_pvcs
  clearexport_rcs
  clearexport_sccs
  clearexport_ssafe
  clearfsimport
  cleargetlog
  clearhistory
  clearimport
  clearjoinproj
  clearlicense
  clearmake
  clearmake.options
  clearmrgman
  clearprojexp
  clearprompt
  cleartool
  clearviewupdate
  clearvobadmin
  comments
  config_ccase
  config_spec
  cptype
  credmap
  creds
  deliver
  describe
  diffbl
  diffcr
  diff
  dospace
  edcs
  endview
  env_ccase
  events_ccase
  export_mvfs
  exports_ccase
  file
  find
  findmerge
  fmt_ccase
  getcache
  get
  getlog
  help
  hostinfo
  init_ccase
  ln
  lock
  lsactivity
  lsbl
  lscheckout
  lsclients
  lscomp
  lsdo
  lsfolder
  lshistory
  ls
  lslock
  lsmaster
  lspool
  lsprivate
  lsproject
  lsregion
  lsreplica
  lssite
  lsstgloc
  lsstream
  lstype
  lsview
  lsvob
  lsvtree
  makefile_aix
  makefile_ccase
  makefile_gnu
  makefile_pmake
  makefile_smake
  makefile_sun
  man
  merge
  mkactivity
  mkattr
  mkattype
  mkbl
  mkbranch
  mkbrtype
  mkcomp
  mkdir
  mkelem
  mkeltype
  mkfolder
  mkhlink
  mkhltype
  mklabel
  mklbtype
  mkpool
  mkproject
  mkregion
  mkstgloc
  mkstream
  mktag
  mktrigger
  mktrtype
  mkview
  mkvob
  mount_ccase
  mount
  msdostext_mode
  mvfslog
  mvfsstorage
  mvfstime
  mvfsversion
  mv
  omake
  pathnames_ccase
  permissions
  profile_ccase
  promote_server
  protect
  protectvob
  pwd
  pwv
  query_language
  quit
  rebase
  recoverview
  reformatview
  reformatvob
  register
  relocate
  rename
  reqmaster
  reserve
  rgy_backup
  rgy_check
  rgy_passwd
  rgy_switchover
  rmactivity
  rmattr
  rmbl
  rmbranch
  rmcomp
  rmdo
  rmelem
  rmfolder
  rmhlink
  rmlabel
  rmmerge
  rmname
  rmpool
  rmproject
  rmregion
  rmstgloc
  rmstream
  rmtag
  rmtrigger
  rmtype
  rmver
  rmview
  rmvob
  schedule
  schemes
  scrubber
  setactivity
  setcache
  setcs
  setplevel
  setsite
  setview
  shell
  snapshot.conf
  softbench_ccase
  space
  startview
  type_manager
  umount
  uncheckout
  unlock
  unregister
  unreserve
  update
  version_selector
  view_scrubber
  vob_restore
  vob_scrubber
  vob_sidwalk
  vob_snapshot
  vob_snapshot_setup
  wildcards_ccase
  winkin
  xclearcase
  xcleardiff
  xmldiffmrg

lsproject

Lists information about a project

APPLICABILITY

ProductCommand type
ClearCasecleartool subcommand
ClearCase LTcleartool subcommand

Platform
UNIX
Windows

SYNOPSIS

lsproj·ect [ –s·hort | –l·ong | –fmt format-string
| –tre·e [ –fmt format-string] [ –dep·th depth]
| –anc·estor[ –fmt format-string ] [ –dep·th depth ] ]
[ –obs·olete ] [ –inv·ob vob-selector | –in folder-selector
| –vie·w view-tag | –cvi·ew | project-selector ... ]

DESCRIPTION

The lsproject command lists information for one or more projects.

RESTRICTIONS

None.

OPTIONS AND ARGUMENTS

Selecting a Display Format

Default
A one-line summary.

–s·hort
Displays project names only.

–l·ong
Displays the following detailed information for a project:
  • Name

  • The folder it is in

  • Integration stream

  • Title (if different from the name)

  • Modifiable components

  • Default rebase promotion level

  • Recommended baselines

  • Project model

  • Policies

  • Baseline naming template

And the following additional information for a project enabled for ClearQuest:

  • ClearQuest record ID

  • The name of the ClearQuest user database

  • ClearQuest policies

–fmt format-string
Displays information in the specified format. See the fmt_ccase reference page for details.

–tre·e [ –fmt format-string ] [ –dep·th depth ]
Displays information for a project, including its hierarchy of streams and activities. You can modify how information is displayed with the –fmt and –depth options.

The –fmt option displays information using the specified format.

The –depth option lists the hierarchy of objects to the level specified by the depth argument. The depth argument must be a positive integer.

–anc·estor [ –fmt format-string ] [ –dep·th depth ]
Displays information about one or more projects and its parent folders. You can modify how information is displayed with the –fmt and –depth options.

The –fmt option displays information using the specified format.

The –depth option lists the hierarchy of objects to the level specified by the depth argument. The depth argument must be a positive integer.

Listing Obsolete Projects

Default
List only nonobsolete projects.

–obs·olete
Includes obsolete projects in the listing. Obsolete projects are those that have been processed with lock –obsolete.

Specifying the Project

Default
All projects in the project VOB of the current directory.

–inv·ob vob-selector
Displays a list of all projects in the specified project VOB.

–in folder-selector
Displays a list of projects in the specified folder.

–vie·w view-tag
Displays information for the project containing the stream attached to the specified view.

–cvi·ew
Displays information for the project containing the stream attached to the current view.

project-selector ...
Specifies one or more projects to list.

EXAMPLES

The UNIX examples in this section are written for use in csh. If you use another shell, you may need to use different quoting and escaping conventions.

The Windows examples that include wildcards or quoting are written for use in cleartool interactive mode. If you use cleartool single-command mode, you may need to change the wildcards and quoting to make your command interpreter process the command appropriately.

In cleartool single-command mode, cmd-context represents the UNIX shell or Windows command interpreter prompt, followed by the cleartool command. In cleartool interactive mode, cmd-context represents the interactive cleartool prompt.

Note: In the UNIX examples that follow, arguments and output that show multicomponent VOB tags are not applicable to ClearCase LT, which recognizes only single-component VOB tags. In this manual, a multicomponent VOB tag is by convention a two-component VOB tag of the form /vobs/vob-tag-leaf—for example, /vobs/src. A single-component VOB tag consists of a leaf only—for example, /src. In all other respects, the examples are valid for ClearCase LT.

  • Display a detailed description of project p7, which is not enabled for ClearQuest.

    cmd-context lsproject -long p7 
    project "p7" 
    19-Feb-03.17:43:08 by Sheila Hunt (sheila.user@echo01)
    owner: sheila
    group: user
    folder: RootFolder@/vobs/sheila_testpvob
    integration stream: int7@/vobs/sheila_testpvob
    modifiable components:
      c1@/vobs/sheila_testpvob
      c2@/vobs/sheila_testpvob
    default rebase promotion level: INITIAL
    recommended baselines:
      bld.bl3.161@/vobs/sheila_testpvob (c1@/vobs/sheila_testpvob)
      bld.bl2.181@/vobs/sheila_testpvob (c2@/vobs/sheila_testpvob)
    model: DEFAULT
    policies:
      POLICY_UNIX_INT_SNAP disabled
      POLICY_UNIX_DEV_SNAP disabled
      POLICY_WIN_INT_SNAP disabled
      POLICY_WIN_DEV_SNAP disabled
      POLICY_INTRAPROJECT_DELIVER_FOUNDATION_CHANGES disabled
      POLICY_INTRAPROJECT_DELIVER_ALLOW_MISSING_TGTCOMPS disabled
      POLICY_INTERPROJECT_DELIVER disabled
      POLICY_INTERPROJECT_DELIVER_FOUNDATION_CHANGES disabled
      POLICY_INTERPROJECT_DELIVER_REQUIRE_TGTCOMP_VISIBILITY disabled
      POLICY_INTERPROJECT_DELIVER_ALLOW_NONMOD_TGTCOMPS disabled
    baseline naming template: component_project_date_time

  • Display a detailed description of project P4n, which is enabled for ClearQuest.

    cmd-contextlsproject -l project:P4n@\yuhong_auto_test_pvob1
    project "P4n"
    19-Feb-03. 16:26:59 by yuhong:Domain Users@qent124b
    owner: ATRIA\yuhong
    group: ATRIA\Domain Users
    folder: RootFolder@\yuhong_auto_test_pvob1
    integration stream: P4_integration@\yuhong_auto_test_pvob1
    modifiable components:
    default rebase promotion level: INITIAL
    recommended baselines:
    model: DEFAULT
    policies:
      POLICY_UNIX_INT_SNAP disabled
      POLICY_UNIX_DEV_SNAP disabled
      POLICY_WIN_INT_SNAP disabled
      POLICY_WIN_DEV_SNAP enabled
      POLICY_DELIVER_REQUIRE_REBASE disabled
      POLICY_DELIVER_NCO_DEVSTR disabled
      POLICY_INTRAPROJECT_DELIVER_FOUNDATION_CHANGES disabled
      POLICY_INTRAPROJECT_DELIVER_ALLOW_MISSING_TGTCOMPS disabled
      POLICY_INTERPROJECT_DELIVER disabled
      POLICY_INTERPROJECT_DELIVER_FOUNDATION_CHANGES disabled
      POLICY_INTERPROJECT_DELIVER_REQUIRE_TGTCOMP_VISIBILITY disabled
      POLICY_INTERPROJECT_DELIVER_ALLOW_NONMOD_TGTCOMPS disabled
    clearquest record id: P4n
    clearquest user database name: test
    clearquest policies:
      "Check assignment before WorkOn" enabled
      "Check before ClearCase delivery" enabled
      "Check ClearQuest Mastership before delivery" disabled
      "Do ClearQuest action after delivery" enabled
    baseline naming template: basename_project_stream_component_date_time

  • Display a one-line summary of the project containing the stream attached to the specified view.

    cmd-context lsproject –view java_int 
    17-Sep-99.11:24:18 Java_Parser_Project_28174 bill "Java Parser Project"

SPONSORED LINKS



 

ClearCase Links • ClearCase Books • ClearCase Commands Reference • ClearCase Forums • ClearCase News