CodeStriker on Windows integrated with ClearCase

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

CodeStriker on Windows integrated with ClearCase

Shambhu Sharma-2
Hi,

          I installed CodeStriker-1.9.10 on Windows integrated with ClearCase. I had to do some modification in the code to make it work on Windows, hence thought of sharing with all.
In lib file "ClearCaseDynamic.pm" under "getDiff" subroutine, it was running "setview" command without check OS (Windows/ Unix). I put it under a "if" condition.

      if (! Codestriker::is_windows()) {
          # Set the current view to the repository's dynamic view name.
          $clearcase = ClearCase::CtCmd->new();
          ($status, $output, $errormsg) =
            $clearcase->exec('setview', $self->{dynamic_view_name});

          # Check the result of the setview command.
        if ($status)
        {
            print $stderr_fh "CtCmd::exec($ctcmd) failed: $errormsg.\n";
            return $Codestriker::OK;
        }
      }




--
If linux doesn't have a solution, then u have a wrong problem.

Shambhu Kumar Sharma
91-98864 91913

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Codestriker-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/codestriker-user
Loading...