Question

I have a question about ClearCase activity IDs.

By default they are just strings, but is there any way to force them to be numerical ids? It does not appear to be a simple setting anywhere, so I thought perhaps there is some background script that has to be triggered if this is possible at all.

I want this to be automated/managed by the system, not left up to developers to plug in whatever id they want.

Thoughts? I'm using ClearCase 8 (UCM) on Windows. As well, most of our developers use the GUI as opposed to command line, if that makes a difference.

Was it helpful?

Solution

That wouldn't be covered by ClearCase directly.

If you are using full ClearCase (as opposed to CCRC or ClearTeam), you could deploy a wrapper for cleartool, which would intercept a cleartool mkact command and provide the right name according to your policy.

For ClearTeam, you would wrap rcleartool.

But in both cases, that would be a command-line solution.


One other alternative would be to control the activity name, through a pre-op mkact trigger.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top