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

how to get the component containing a file

Here, we have the UUID of one code file, how could we the component which contains this code file by its UUID? Thanks a lot!

0 votes



One answer

Permanent link
You'll have to find a change set that contains a change for that file. The change set is set to one component and that can't change. However, the file can be moved to another component so you may find change sets that aren't from the same component.

You can search for change sets using IChangeSetCriteria to set your parameters. Then call IWorkspaceManager#findChangeSets(*).

0 votes

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
× 10,938

Question asked: Feb 20 '13, 7:53 a.m.

Question was seen: 3,739 times

Last updated: Feb 20 '13, 9:33 a.m.

Confirmation Cancel Confirm