ClearCase远程客户端CLI

ClearCase远程客户端CLI

本文介绍了ClearCase远程客户端CLI?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

考虑到去年我们使用的是CVS,我在目前的工作中很难使用ClearCase,这真是一个痛苦。

I'm struggling with using ClearCase at my current job and it's a REAL pain, considering that we were using CVS last year.

我试图一个构建服务器,该服务器从ClearCase下载代码,对其进行编译并生成所有发行版。构建服务器必须是RHEL5,ClearCase服务器是Windows计算机,因此我认为不可以使用普通的ClearCase客户端。

I'm trying to make a build server that downloads the code from ClearCase, compiles it and generates all the distributions. The build server must be RHEL5 and the ClearCase server is a Windows machine, so I don't think using normal ClearCase client would be an option.

有什么可能的方法吗?

Is there any possible way of having a ClearCase CLI client that just downloads the code?

我正在研究CCRC,但似乎没有CLI界面。我还查看了,但是它需要一个 CCSHARED依赖项,我不知道它的位置。我为Linux安装了CCRC,并指向安装目录,但没有成功:

I'm looking into CCRC but it seems that has no CLI interface. I also looked into IBM page but it needs a "CCSHARED" dependency that I have no idea of where it could be. I installed CCRC for Linux and pointed to the install directory with no success:

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$

`

推荐答案

您是正确的:Linux客户端将无法访问任何Windows共享上的VOB数据。

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

CCRC可以帮助以下之一:它是具有 Web视图的Web服务器:一种特殊的快照视图(这可能是您想要的,因为快照视图将文件下载到

由于CCRC服务器需要访问VOB数据...因此它不能是Linux,而只能是Windows。

A CCRC could help either: it is a web server with "web views": a special kind of snapshot view (which could be what you want since a snapshot view download files on its workspace).
Since the CCRC server need to access the VOB data... it cannot be a Linux one, but a Windows one.

使用CCRC7.0.1时,该API似乎有点漏洞,但使用CCRC7.1时则更好:

您在此线程中有一个。

The API seems a little buggy with a CCRC7.0.1, but with CCRC7.1 is is better:
You have in this thread an example of web view update.

        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 Server是7.0.x,您仍然可以安装CCRC 7.1(它将能够在Vob Server 7.0.x上访问数据)

Note: even if your Vob Server is 7.0.x, you still can install a CCRC 7.1 (it will be able ot access the data on a Vob Server 7.0.x)

注意事项:确实详细说明了如何设置 CCSHARED 变量。

Notebis: the page you mentioned does detail how to set the CCSHARED variable.

这篇关于ClearCase远程客户端CLI?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 18:48