1

我正在编写一个 ant 构建脚本来执行几个 clearcase 命令。是否有删除 clearcase 文件(ct rm)的 ant 任务?我看到有一个 ccrmtype 任务,这个可以用来删除文件吗?

谢谢, 阿尔西

4

1 回答 1

1

The list of tasks mentioned at "Accelerate and automate the build process with IBM Rational ClearCase and Ant" and at "Apache Ant ClearCase Tasks" doesn't include cleartool rmname.

rmtype is about removing the type (branch or label type for instance), not an element (directory or file)

Howevever, looking at the source of CCMkelem.java, it wouldn't be hard to implement a CCRMname.
It actually exists: CCRmname.java.
So if it isn't present in the latest Ant, take that source, compile it and add it to your ant library.

于 2012-05-24T06:00:35.790 回答