Menu

Clearcase view context error

Help
2007-03-12
2013-04-17
  • petergriffin

    petergriffin - 2007-03-12

    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.

     
    • buildmeister

      buildmeister - 2007-03-12

      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

       
    • petergriffin

      petergriffin - 2007-03-12

      Thanks a million Kevin, that's working perfectly now

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.