How to remove/rename file in clearcase with CM API?
I can't find any useful methods under CcFile or CcDirectory... any help appreciated
How to remove/rename file in clearcase with CM API?
I can't find any useful methods under CcFile or CcDirectory... any help appreciated
CM Api means ClearCase 8.x or more.
The ClearCase CM server API extends the WVCM (Workspace Versioning and Configuration Management) API, which is a standard Java API for configuration management.
Only CC 8.0.1.6 supports dynamic and snapshot views.
Considering cleartool mv is also available for rcleartool, using that would be easier than the CM API.
However, as noted by Brian Cowan in the comments:
The CM API is actually able to perform checkouts, mkelems, etc.
rcleartoolandCTEactually use CM API, withrcleartoolbeing the more "pure" CM API application.
So, in 90% of usecases, ifrcleartoolcan do it, a CM API application should too.