0

I want to know whether we can use the ClearCase macros in Rational Team Concert itself for communicating from scripts. Example for fetching the baseline details. Does Change Management Integration (CMI) will help on this. Please shed your views.

1 Answers1

0

Not the I know of.

For fetching baselines or any other RTC-related operation, you would use scm or lscm (which is the equivalent of cleartool, or more specifically rcleartool in CCRC).

See more with the article "Using the Jazz SCM command line to support software configuration audit":

To list the baselines associated with all components present in a stream/workspace, run lscm list baselines with -w/--workspace option.

$ lscm ls baselines -w "JUnit Stream" -r localhost
Component: (5630) "JUnit Releng"
  Baseline: (5631) 2 "Initial Snapshot for JUnit Releng"   ""  ADMIN  Jun 6, 2012 12:37:58 PM
  Baseline: (5639) 1 "Initial Baseline for JUnit Releng"   "Initial Baseline of Component JUnit Releng"  ADMIN  Jun 6, 2012 12:33:34 PM
Component: (5632) "JUnit Source"
  Baseline: (5633) 5 "Milestone-1"   "Baseline created as part of Milestone-1 Snapshot"  ADMIN  Jun 6, 2012 12:47:23 PM
  Baseline: (5634) 4 "Vector.java Modification-2"   "Vector.java Modification-2"  ADMIN  Jun 6, 2012 12:46:10 PM
  Baseline: (5635) 3 "Vector.java Modification-1"   "Vector.java Modification-1"  ADMIN  Jun 6, 2012 12:43:40 PM
  Baseline: (5636) 2 "Initial Snapshot for JUnit Source"   "Initial Snapshot for JUnit Source"  ADMIN  Jun 6, 2012 12:37:58 PM
  Baseline: (5637) 1 "Initial Baseline for JUnit Source"   "Initial Baseline of Component JUnit"  ADMIN  Jun 6, 2012 12:28:05 PM  
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250