| Programatically synchronizing externally modified CVS Team resources [message #292807] |
Wed, 12 October 2005 16:57  |
Eclipse User |
|
|
|
Gurus,
We are attempting to customize the CVS Team functionality within Eclipse
to conform to our (relatively complex) build rules. I have successfully
written a plug-in in SWT (for 3.0) which commits, tags and updates our
build database within Eclipse.
All is working well, except... Eclipse is showing an indicator that the
resource is out of sync. This goes away if I manually select
Team->Replace With for the resource(s) in question. However, having to do
this extra step is at odds with our goal of one-click build submissions.
I have tried just about every method in
org.eclipse.team.internal.ccvs.core.resources.EclipseSyncron izer. I also
attempted to have my plug-in extend WorkspaceModifyOperation. These
methods did not work.
Is there any way that I can either: clear Eclipse's internal cache for
that resource's modification and/or trigger a slient update of the
resource from CVS to refresh the internal cache?
My thanks in advance,
Saish
|
|
|
|
|
|
| Re: Programatically synchronizing externally modified CVS Team resources [message #292984 is a reply to message #292896] |
Fri, 14 October 2005 09:06  |
Eclipse User |
|
|
|
Saish,
The CVS plugin has no official API but many do use it. It doesn't change
frequently but, unlike official API, it can. If that is a problem for
you than the answer to your first question is that there is no supported
way to customize CVS Team functionality in Eclipse.
I assumed you had already used non-API to perform the commit, tag and
update. Did you use the command like client for this? That may explain
the change indicators as described in bug
https://bugs.eclipse.org/bugs/show_bug.cgi?id=15133.
Michael
Saish wrote:
> Dear Michael,
>
> Thank you very much for the prompt response. I had one worry, however.
> That class, if I am not mistaken, is in the 'internal' package. Do
> these classes change frequently between releases? Our development group
> regularly upgrades their Eclipse IDE's.
>
> Many thanks,
> Saish
>
|
|
|
Powered by
FUDForum. Page generated in 0.04623 seconds