ClearCase client to remote client?

I struggle with using ClearCase in my current job, and it is a REAL pain, given that we used CVS last year.

I am trying to create a build server that downloads code from ClearCase, compiles it and generates all distributions. The build server must be RHEL5, and the ClearCase server is a Windows computer, so I don’t think using a regular ClearCase client would be an option.

Is there any possible way for the client to use the ClearCase CLI that just downloads the code?

I am browsing CCRC but does not seem to have a CLI. I also looked at the IBM page , but this requires the "CCSHARED" dependency, which I don't know where it might be. I installed CCRC for Linux and without much effort pointed to the installation directory:

german@Shakuras:/instaladores/linux/CCRCCLI$ ./rcleartool 

rcleartool>         

rcleartool> update

Exception in thread "main" java.lang.NoClassDefFoundError: javax/wvcm/WvcmException

    at com.ibm.rational.ccrc.cli.command.ClearWan.main(Unknown Source)

german@Shakuras:/instaladores/linux/CCRCCLI$ 

`

+3
source share
5 answers

You are right: the Linux client will not be able to access VOB data on any Windows share.

CCRC can also help: it's a web server with "web views": a special kind of snapshot (which may be what you want, since viewing snapshots in its workspace). Since the CCRC server needs to access the VOB data ... it cannot be Linux, but Windows.

API CCRC7.0.1, CCRC7.1 :
-.

        trace("Getting CM API provider");
        CcProvider provider = getProvider(CMServerUrl, login, password); 
        trace("Create pathname to update");
        File folder = testFile; 
        trace("Getting ressource location");
        StpLocation loc = provider.filePathLocation(Domain.CLEAR_CASE,folder); 
        trace("Creating view proxy");
        CcView myview = provider.ccView(loc); 
        trace("Doing view refresh");
        myview.doRefresh(flags, feedback); 
        trace("Refresh done");

. VOB- 7.0.x, CCRC 7.1 ( Vob Server 7.0.x)

. , , , CCSHARED.

+4

, Linux- Windows VOB Server.

ClearCase Protocoll "CCFS" Windows VOB Linux, .

Ubuntu Linux Build Windows VOB.

CCFS VOB. / CC . . CCFS , VOB Linux .

Linux . , CC, Linux, IBM Linux. . : MVFS . , Unix, .

+2

- - Hudson Windows.

, , ClearCase , , Master/Slave.

, , :)

0

....

not sure why we are encoding the CM api server ... this guy wants to use rlcleartool out of the box ... and why he shouldn't ...

try it....

cd C:\Users\_\ccpath\lkw_projects_ac08099_view\vobs\PMOoffice

dir

rcleartool update -server http://192.168.225.205:12080/TeamWeb/services/Team -username ac08099 -password password

cd in the VOB storage on the host first ...

many things do not work well in the "interactive" rcleartool mode ... in addition, complete operators can be easily started using automatic utilities ...

you don’t need the Freebase albd daemon to support simple updates, registration, registration ...

Rcleartool is a good idea ...

0
source

Source: https://habr.com/ru/post/1714922/


All Articles