Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Check repository synchronization
Check repository synchronization [message #293627] Thu, 27 October 2005 06:10 Go to next message
Eclipse UserFriend
When i do have a project shared in a cvs repository and edit some files,
the workspace is decorated with the char ">", to indicate that the
Resourse is not synchronized with the repository

How can i check this programmatically?

I try to look in the class CVSWorkspaceRoot or RepositoryProvider for some
method, but i've not found anything...

Any suggestion?
Re: Check repository synchronization [message #293638 is a reply to message #293627] Thu, 27 October 2005 09:35 Go to previous message
Eclipse UserFriend
Luis,

There is currently no API available to do what you ask. This may change
in 3.2 but this is still up in the air. In the meantime, here is a
non-API way of doing what you ask:

File myFile = ...
boolean dirty = CVSWorkspaceRoot
.getCVSFileFor(myFile)
.isModified(monitor)


Michael

Luis Toubes wrote:
> When i do have a project shared in a cvs repository and edit some files,
> the workspace is decorated with the char ">", to indicate that the
> Resourse is not synchronized with the repository
>
> How can i check this programmatically?
>
> I try to look in the class CVSWorkspaceRoot or RepositoryProvider for
> some method, but i've not found anything...
>
> Any suggestion?
>
Previous Topic:add a filter (file extensions) to one special project type
Next Topic:how to change required java version to old version on eclipse
Goto Forum:
  


Current Time: Wed Jun 04 23:06:55 EDT 2025

Powered by FUDForum. Page generated in 0.23598 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top