如何自动设置活动视图? [英] How to setup activity automatically for a view?

查看:243
本文介绍了如何自动设置活动视图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我们的建设,我们用它来删除我们的观点,并创建构建之前新视图。

有人没有任何问题开展工作,在基本的ClearCase。

但在UCM我们所面临的问题,同时退房和入住手续,由于活动名称有每次进行分配。

它是一个很好的做法,创造新的活动每当我建? [但活动的数量将很快上升到巨大的]

有没有简单的方法来设置默认的UCM自动活动?

是否有任何的身体在他们的生成过程自动化呢?如果是这样你能分享链接或一些有用的资源。


解决方案

使用<一个href=\"http://publib.boulder.ibm.com/infocenter/cchelp/v7r0m0/index.jsp?topic=/com.ibm.rational.clearcase.cc_ref.doc/topics/ct_setactivity.htm\"相对=nofollow> cleartool setact 来设置你的活动。

  setact / ivity [-C / omment评论| -cfi / LE PNAME | -cq / uery | -nc / omment]
[-vie / W查看标签] {-none |活动选择器}

您可能需要从您的观点首先取消设置的当前活动:


  

从视图中java_int清除当前的活动。


  cleartool setactivity -none

然后,设置一个活动是当前活动。

  cleartool setactivity create_directories
设置活动create_directories鉴于webo_integ。

请参阅<一个href=\"https://www-01.ibm.com/support/knowledgecenter/SSSH27_8.0.0/com.ibm.rational.clearcase.dev.doc/topics/cc_dev/c_about_find_set_act.htm\"相对=nofollow>设置UCM活动更多:


  

您可以一次设置按次只有一个活动,直到你取消设置活动或设置一个又一个在你看来都检出与当前设置的活动有关。


  cleartool setact -view&LT; myViewTag&GT; &LT; anActiviyName&GT;

( - 视图集的的活动名称)


请注意,如果要更改的活动,而你已经挂起的签,你将有一个警告。

您通常联营活动到的发展任务,而不是一个版本号。结果
既然你不版本正在构建我们的(可执行),你不必做每建新的活动。

In our build , we use to delete our view and create new view before build.

It was working without any issue in base clearcase.

But in UCM we face issues while check-out and check-in due to activity name has to be assigned every time.

Is it a good practice to create new activity whenever i build? [ But number of activities will be soon increased to enormous]

Is there any easy way to setup default activity automatically in UCM?

Has any body automated this in their build process? If so can you share link or something useful resource..

解决方案

Use cleartool setact to set your activity.

setact/ivity [ –c/omment comment | –cfi/le pname | –cq/uery | –nc/omment ]
[ –vie/w view-tag ] { –none | activity-selector } 

You might need to unset the current activity first from your view:

Cleared current activity from view java_int.

cleartool setactivity -none

Then, Set an activity to be the current activity.

cleartool setactivity create_directories
Set activity "create_directories" in view "webo_integ".

See "Setting UCM activities" for more:

You can set only one activity per view at a time, and all checkouts in your view are associated with the currently set activity until you unset the activity or set another one.

cleartool setact -view <myViewTag> <anActiviyName>

(-view set before the activity name)


Note that if you are changing the activity while you have pending checkouts, you will have a warning.

You usually associate activities to a development task instead of a build number.
Since you don't version what you are building (the executables), you don't have to make a new activity per build.

这篇关于如何自动设置活动视图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆