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

how to get component from changeset ?

Our usecase is to determine all the dependent changeset for a given changeset and list down all the files with full path started from the component using API.

How to list down all the dependent changeset for a given changeset ?

If we get the dependent changeset , we are able to get the files associated with it, so how to get full path for the file? as the method to get full path requires component name as well , so how to get component name from a given changeset.?

Thanks
Praveen Patidar

0 votes



One answer

Permanent link
Using the api, IChangeSet.getComponent() returns a component handle - however, without digging too much into your usecase, you might want to explore how you are supposedly getting this initial change set first. I mention this because when trying to explore remote-paths of files, it is dependent on a the RepositoryWorkspace/Stream's "configuration(IComponentHandle)". This would lead me to believe you need to pick the stream and component first even before dealing with change sets and files.

1 vote

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

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
× 11,055

Question asked: Dec 13 '12, 1:12 a.m.

Question was seen: 5,522 times

Last updated: Dec 13 '12, 1:14 p.m.

Confirmation Cancel Confirm