Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

[closed] com.ibm.team.scm.common.ComponentNotInWorkspaceException:Unable to obtain all component

 当我想使用客户端 API 创建基线并交付时,使用 IWorkspaceConnection.createBaseline()时提示:

com.ibm.team.scm.common.ComponentNotInWorkspaceException:无法获取所有组件

IWorkspaceConnection 连接 = wm.getWorkspaceConnection(workspaceHandle, monitor);
System.out.println("创建基线...");
IBaselineConnection 基线 = connection.createBaseline(cHandle, "TETS", "TETS", monitor);
System.out.println("比较基线...");
IChangeHistorySyncReport baselineSync = connection.compareTo(
联系,
WorkspaceComparisonFlags.INCLUDE_BASELINE_INFO,
Collections.EMPTY_LIST,监视器);

// 交付基线
System.out.println("交付基线...");
connection.deliver(连接,baselineSync,
baselineSync.outgoingBaselines(cHandle),
baselineSync.outgoingChangeSets(cHandle),监视器);
System.out.println("提取成功...");
不知道为什么,谁有相关经验,期待回复,谢谢!

0 votes

Comments

 

com.ibm.team.scm.common.ComponentNotInWorkspaceException:Unable to obtain all component locks


The question has been closed for the following reason: "Other" by rschoon Mar 24 '22, 3:54 a.m.


One answer

Permanent link

 I will close this question, as it does not seem to be a question. The primary language in this forum is English. The exception mentioned above surfaced at least in this question and was correctly answered: https://jazz.net/forum/questions/279404/comibmteamscmcommoncomponentnotinworkspaceexception

0 votes

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,937

Question asked: Mar 24 '22, 3:28 a.m.

Question was seen: 1,287 times

Last updated: Mar 24 '22, 3:54 a.m.

Confirmation Cancel Confirm