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

Is it possible to adapt IChangeSet to a list of IResource?

Is it possible to adapt IChangeSet to a list of IResource? If not, how to get the IResource behind a IChangeSet?

Thanks

0 votes



6 answers

Permanent link
Is it possible to adapt IChangeSet to a list of IResource? If not, how
to get the IResource behind a IChangeSet?

What is an "IResource behind a IChangeSet"? Is it just resources that
have the same item id? Or is it resources that have the same item id and
also in the same workspace/component?

- Dmitry

0 votes


Permanent link
I meant get the changed files in an IChangeSet.

Sorry but that does not answer my question, nor does it clarify your
original question.

- Dmitry

0 votes


Permanent link
Is it possible to adapt IChangeSet to a list of IResource? If not, how
to get the IResource behind a IChangeSet?

What is an "IResource behind a IChangeSet"? Is it just resources that
have the same item id? Or is it resources that have the same item id and
also in the same workspace/component?

- Dmitry

I meant get the changed files in an IChangeSet.

0 votes


Permanent link

What is an "IResource behind a IChangeSet"? Is it just resources that
have the same item id? Or is it resources that have the same item id and
also in the same workspace/component?

- Dmitry


Well...I would like to get the changed files: all the elements'(IChange) path names (e.g. IResource.getFullPath()) in an IChangeSet, whenever I accept/deliver a change. Actually I don't care whether they are in the same workspace/component or not.

0 votes


Permanent link
On Wed, 27 Aug 2008 22:47:54 +0000, jingweno wrote:

I don't care whether they are in the
same workspace/component or not.

In that case you can call FileSystemCore.getSharingManager
().findShareables(FileSystemCore.getSharingManager().getDefaultCFARoot(),
versionable, monitor) to get a list of 0 or more shareables that have the
given item id.

- Dmitry

0 votes


Permanent link
Jingwen: Did you want just the "resource" (what ClearCase calls an
"element"), or did you want the particular "state" (version) of that
resource that was created by that changeset? If it is a particular
state, then there is no workspace/component context needed.

Cheers,
Geoff

Dmitry Karasik wrote:
Is it possible to adapt IChangeSet to a list of IResource? If not, how
to get the IResource behind a IChangeSet?

What is an "IResource behind a IChangeSet"? Is it just resources that
have the same item id? Or is it resources that have the same item id and
also in the same workspace/component?

- Dmitry

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,937

Question asked: Aug 26 '08, 6:35 p.m.

Question was seen: 7,802 times

Last updated: Aug 26 '08, 6:35 p.m.

Confirmation Cancel Confirm