Menu

Cann't find the package com/ibm/rational/wvcm

Help
2006-11-08
2013-04-17
  • Nagaraja Manchikalapati

    I am trying to run ccexec task using ant. I am getting the following error:
    Where can i get find com/ibm/rational/wvcm/stp/* classes.

        <ca:ccexec>
                <arg value="@{type}"/>
                <arg line="-c '@{comment}' @{extra-args}"/>
                <arg value="@{element}"/>
        </ca:ccexec>   

    Error:

    jar:file:/C:/apache-ant-1.6.5/lib/clearantlib-1.1.1.jar!/net/sourceforge/clearan
    tlib/antlib.xml:13: taskdef A class needed by class net.sourceforge.clearantlib.
    CQBuildRecord cannot be found: com/ibm/rational/wvcm/stp/Repository

     
    • buildmeister

      buildmeister - 2006-11-09

      The required libraries are part of Rational Java Team API. They are part of the 7.0 release. If you have not got access to the libraries then you can download them from here: http://clearantlib.svn.sourceforge.net/viewvc/clearantlib/trunk/lib/

      I will update the documentation/installer accordingly.

      Kevin

       
    • Piyush Sharma

      Piyush Sharma - 2008-11-07

      I am calling following macro:

      <macrodef name="cc-apply-label">
                  <attribute name="label"/>

                  <attribute name="plevel"    default="BUILT"/>
                  <attribute name="startloc"  default="."/>
                  <sequential>
                      <!-- create a new label type -->
                      <ca:ccexec>
                          <arg value="mklbtype"/>
                          <arg value="@{label}"/>
                      </ca:ccexec>
                      <!-- apply the label -->
                      <ca:ccexec>
                          <arg value="mklabel"/>
                          <arg value="-recurse"/>
                          <arg value="@{label}"/>
                          <arg value="@{startloc}"/>
                      </ca:ccexec>
                      <!-- apply the promotion level to the label -->
                      <ca:ccexec>
                          <arg value="mkattr"/>
                          <arg value="PromotionLevel"/>
                          <arg value="&quot;@{plevel}&quot;"/>
                          <arg value="lbtype:@{label}"/>
                      </ca:ccexec>
                  </sequential>
          </macrodef>

      using

      <cc-apply-label label="${label}" plevel="BUILT"/>

      in my build script and the script is being run by apache-ant-1.7.0 for setting up the cruise control on clearcase.

      I have copied all the jar files under teamapi.7.0.1\apps folder to the lib file of the ant. but still getting the error:

      !/net/sourceforge/clearantlib/antlib.xml:13: taskdef A class needed by class net.sourceforge.clearantlib.CQBuildRecord cannot be found: com/ibm/rational/wvcm/stp/Repository

      Can anyone please help me if I am doing anything wrong :(...

       
      • buildmeister

        buildmeister - 2008-11-08

        This is the same as https://sourceforge.net/forum/message.php?msg_id=4004317, see the response there - you need the team API libraries

         

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.