The <ccblreport> task requires that you are running inside a ClearCase view, for example if you are on Windows and have a dynamic view called myDev_view, that you are in M:\myDev_view, before you execute the build.
The <ccversion> and <ccavailable> tasks have no such requirement so they will work outside of a view.
Kevin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm using Clearantlib 1.1.2 and whenever I try and use the "ccblreport" task I get the error:
"This task requires a ClearCase view context".
I don't have any problems using the "ccversion" or "ccavailable" commands.
I'm running Clearcase 2003.06.00 in UCM format, Java 1.5.0_10 and ANT 1.6.5
Below is the task I'm trying to run:
<target name="bl-report">
<ca:ccblreport baselineselector="baseline:projectABC@\projects"
contributors="false"
versions="true"
outfile="ccblreport.xml"
failonerror="true"/>
</target>
Project "projectABC" does exist, I've just changed it for display purposes here and the "projects" VOB is lowercase.
Any help would really be appreciated.
Hi,
What is your current working directory?
The <ccblreport> task requires that you are running inside a ClearCase view, for example if you are on Windows and have a dynamic view called myDev_view, that you are in M:\myDev_view, before you execute the build.
The <ccversion> and <ccavailable> tasks have no such requirement so they will work outside of a view.
Kevin
Thanks a million Kevin, that's working perfectly now