Reputation: 1291
Im writing an ant build script to execute a couple of clearcase commands. Is there ant task to remove a clearcase file(ct rm)? I see there is a ccrmtype task, can this one be used to remove a file?
Thanks, Aarthi
Upvotes: 1
Views: 182
Reputation: 1327224
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.
Upvotes: 1