Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-6806

cleartool rmview -tag is not supported by Clearcase LT

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • clearcase-plugin
    • None
    • ClearCase LT 7.0.0, Clearcase Plugin trunk 06/17/2010

      From Tony Chan (via email) :

      I have a project using CC as SCM, using snapshot views and with load rules. Right now, I am using a build of the CC plugin from SVN on 06/17/2010 to obtain the fix for issue #4443 (issue for spaces and quotes in load rules). Our CC version:

      Rational ClearCase LT 7.0.0 (Wed Apr 26 12:36:56 2006)
      cleartool 7.0.0.0 (Tue Apr 25 21:37:50 2006)

      And for the actual bug, whenever the project tries to build, the CC plugin will execute "rmview -force -tag <tag>" which apparently is unsupported by my version of CC. We getting this error in our console logs:

      [jdk 1.4.2] $ cleartool lsview dev-hudson-rdf-nightly-build
      dev-hudson-rdf-nightly-build priapprtl02:\view_stg\CPPIB\svc_cadismq_dev\dev-hudson-rdf-nightly-build.vws
      [dev-hudson-rdf-nightly-build] $ cleartool lshistory -all -since 18-jun-10.12:35:43utc+0000 -fmt '\"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \n%c\n' -nco '""\IDR_Docs\70 - Development\MDM\RDF""' '""\IDR_Docs\70 - Development\MDM\Resource\RDF""'
      [jdk 1.4.2] $ cleartool lsview dev-hudson-rdf-nightly-build
      dev-hudson-rdf-nightly-build priapprtl02:\view_stg\CPPIB\svc_cadismq_dev\dev-hudson-rdf-nightly-build.vws
      [jdk 1.4.2] $ cleartool rmview -force -tag dev-hudson-rdf-nightly-build
      cleartool: Error: Unrecognized command option: "-tag".
      Usage: rmview [-force]

      {snapshot-view-pname | snapshot-view-storage-pname}

      rmview [-force] [-vob pname-in-vob | -avobs | -all] -uuid view-uuid
      FATAL: Base ClearCase failed. exit code=1
      cleartool did not return the expected exit code. Command line="rmview -force -tag dev-hudson-rdf-nightly-build", actual exit code=1
      Finished: FAILURE

            vlatombe Vincent Latombe
            vlatombe Vincent Latombe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: