Is it possible to adapt IChangeSet to a list of IResource?
6 answers
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
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.
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.
On Wed, 27 Aug 2008 22:47:54 +0000, jingweno wrote:
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
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
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:
"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