Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Plugin "out of sync"
Plugin "out of sync" [message #316698] Fri, 15 June 2007 12:49 Go to next message
Hauke Fuhrmann is currently offline Hauke FuhrmannFriend
Messages: 333
Registered: July 2009
Senior Member
Hi there,

I created some initial plugin projects with the PDE wizards. Whenever I
get a list of available plugins in the wizards now, my projects in the
workspace are listed, but say to be "(out of sync)".
What does that mean?

Best regards,
Hauke
Re: Plugin "out of sync" [message #316699 is a reply to message #316698] Fri, 15 June 2007 13:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Hauke,

Eclipse keeps track of the expected timestamp of the underlying file in
the file system and if this is different from the actual timestamp
(because some tool modified the file directly without going through the
workspace APIs), the file is out of sync. Right clicking on the
project/file/folder and invoking "Refresh" will sync it back up.


Hauke Fuhrmann wrote:
> Hi there,
>
> I created some initial plugin projects with the PDE wizards. Whenever I
> get a list of available plugins in the wizards now, my projects in the
> workspace are listed, but say to be "(out of sync)".
> What does that mean?
>
> Best regards,
> Hauke
>
Re: Plugin "out of sync" [message #316701 is a reply to message #316699] Fri, 15 June 2007 13:25 Go to previous messageGo to next message
Hauke Fuhrmann is currently offline Hauke FuhrmannFriend
Messages: 333
Registered: July 2009
Senior Member
Hi Ed,

this does not help, I have refreshed, rebuild and whatever a hundred
times. And with every project I create, its' the same "out of sync" crap
again.

Pelle, you wrote about the same problem (03/27/2007). How did you debug
it? You wrote you had to delete something from the plugin.xml file, but
my file does not show the entries you mentioned. How can I debug the
reason of the out of sync message?

Best regards,
Hauke

Ed Merks wrote:
> Hauke,
>
> Eclipse keeps track of the expected timestamp of the underlying file in
> the file system and if this is different from the actual timestamp
> (because some tool modified the file directly without going through the
> workspace APIs), the file is out of sync. Right clicking on the
> project/file/folder and invoking "Refresh" will sync it back up.
>
>
> Hauke Fuhrmann wrote:
>> Hi there,
>>
>> I created some initial plugin projects with the PDE wizards. Whenever I
>> get a list of available plugins in the wizards now, my projects in the
>> workspace are listed, but say to be "(out of sync)".
>> What does that mean?
>>
>> Best regards,
>> Hauke
>>
Re: Plugin "out of sync" [message #316702 is a reply to message #316701] Fri, 15 June 2007 13:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Hauke,

I've seen other newsgroup posts that suggested folks had a problem like
this with a mounted file system (which probably was giving inconsistent
timestamp information). Is there anything special about the file system
you are using? Are there any build scripts you are running that might
be modifying the underlying file system directly?


Hauke Fuhrmann wrote:
> Hi Ed,
>
> this does not help, I have refreshed, rebuild and whatever a hundred
> times. And with every project I create, its' the same "out of sync" crap
> again.
>
> Pelle, you wrote about the same problem (03/27/2007). How did you debug
> it? You wrote you had to delete something from the plugin.xml file, but
> my file does not show the entries you mentioned. How can I debug the
> reason of the out of sync message?
>
> Best regards,
> Hauke
>
> Ed Merks wrote:
>
>> Hauke,
>>
>> Eclipse keeps track of the expected timestamp of the underlying file in
>> the file system and if this is different from the actual timestamp
>> (because some tool modified the file directly without going through the
>> workspace APIs), the file is out of sync. Right clicking on the
>> project/file/folder and invoking "Refresh" will sync it back up.
>>
>>
>> Hauke Fuhrmann wrote:
>>
>>> Hi there,
>>>
>>> I created some initial plugin projects with the PDE wizards. Whenever I
>>> get a list of available plugins in the wizards now, my projects in the
>>> workspace are listed, but say to be "(out of sync)".
>>> What does that mean?
>>>
>>> Best regards,
>>> Hauke
>>>
>>>
Re: Plugin "out of sync" [message #316791 is a reply to message #316702] Tue, 19 June 2007 08:28 Go to previous messageGo to next message
Hauke Fuhrmann is currently offline Hauke FuhrmannFriend
Messages: 333
Registered: July 2009
Senior Member
Hi Ed,

nothing special about the file system: I'm running linux with a standard
ext3 filesystem. The error shows up with all workspaces, either on the
local ext3 filesystem or a mounted samba filesystem.

On the other hand the same workspace (coming through a samba network
drive) on a windows eclipse installation works perfectly. No "out of
sync" problems there.

How can I debug this? Maybe there's something wrong with the linux
classpath or something, as some eclipse book says that the "out of sync"
problem originates from a NoClassDefFoundException of the plugin. Is
there any possibility to switch on a verbose logging of eclipse that
would tell the cause? I get no log-file at all in the eclipse config-dir.

Best regards,
Hauke
Re: Plugin "out of sync" [message #316799 is a reply to message #316791] Tue, 19 June 2007 10:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

This is a multi-part message in MIME format.
--------------030905060700080502060303
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hauke,

I'm not an expert at what might cause this. Hopefully some of the file
system expert folks will chime in... If I had to debug this without
knowing anything (which I don't) I'd use the stack trace to see where
the exception is being thrown and start setting breakpoints in the code
that appears to be doing the checking. I think the -debug flag might
cause more logging to happen. Maybe some searches will turn it up
similar issues:

http://www.eclipse.org/search/search.cgi?cmd=Search%21&f orm=extended&wf=574a74&ps=10&m=all&t=5&u l=%2Fnewslists%2Fnews.eclipse.platform&wm=wrd&t=News &t=Mail
< http://www.eclipse.org/search/search.cgi?cmd=Search%21&f orm=extended&wf=574a74&ps=10&m=all&t=5&u l=%2Fnewslists%2Fnews.eclipse.platform&wm=wrd&t=News &t=Mail>


Hauke Fuhrmann wrote:
> Hi Ed,
>
> nothing special about the file system: I'm running linux with a standard
> ext3 filesystem. The error shows up with all workspaces, either on the
> local ext3 filesystem or a mounted samba filesystem.
>
> On the other hand the same workspace (coming through a samba network
> drive) on a windows eclipse installation works perfectly. No "out of
> sync" problems there.
>
> How can I debug this? Maybe there's something wrong with the linux
> classpath or something, as some eclipse book says that the "out of sync"
> problem originates from a NoClassDefFoundException of the plugin. Is
> there any possibility to switch on a verbose logging of eclipse that
> would tell the cause? I get no log-file at all in the eclipse config-dir.
>
> Best regards,
> Hauke
>


--------------030905060700080502060303
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hauke,<br>
<br>
I'm not an expert at what might cause this.&nbsp; Hopefully some of the file
system expert folks will chime in...&nbsp; If I had to debug this without
knowing anything (which I don't)&nbsp; I'd use the stack trace to see where
the exception is being thrown and start setting breakpoints in the code
that appears to be doing the checking.&nbsp; I think the -debug flag might
cause more logging to happen.&nbsp; Maybe some searches will turn it up
similar issues:<br>
<blockquote><a
href=" http://www.eclipse.org/search/search.cgi?cmd=Search%21&a mp ;form=extended&amp;wf=574a74&amp;ps=10&amp;m=all &amp;t=5&amp;ul=%2Fnewslists%2Fnews.eclipse.platform &amp;wm=wrd&amp;t=News&amp;t=Mail "> http://www.eclipse.org/search/search.cgi?cmd=Search%21&a mp ;form=extended&amp;wf=574a74&amp;ps=10&amp;m=all &amp;t=5&amp;ul=%2Fnewslists%2Fnews.eclipse.platform &amp;wm=wrd&amp;t=News&amp;t=Mail </a><br>
</blockquote>
<br>
Hauke Fuhrmann wrote:
<blockquote cite="mid:f58439$bd$1@build.eclipse.org" type="cite">
<pre wrap="">Hi Ed,

nothing special about the file system: I'm running linux with a standard
ext3 filesystem. The error shows up with all workspaces, either on the
local ext3 filesystem or a mounted samba filesystem.

On the other hand the same workspace (coming through a samba network
drive) on a windows eclipse installation works perfectly. No "out of
sync" problems there.

How can I debug this? Maybe there's something wrong with the linux
classpath or something, as some eclipse book says that the "out of sync"
problem originates from a NoClassDefFoundException of the plugin. Is
there any possibility to switch on a verbose logging of eclipse that
would tell the cause? I get no log-file at all in the eclipse config-dir.

Best regards,
Hauke
</pre>
</blockquote>
<br>
</body>
</html>

--------------030905060700080502060303--
Re: Plugin "out of sync" [message #317242 is a reply to message #316799] Fri, 29 June 2007 07:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: exquisitus.news.eclipse.org

Hi,

You may also want to try reloading the platform plugins. This can be
done in Window->preferences->plug-in development-Targetplatform->Reload
Re: Plugin "out of sync" [message #317243 is a reply to message #316799] Fri, 29 June 2007 07:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: exquisitus.news.eclipse.org

Hi,

You may also want to try reloading the platform plugins. This can be
done in Window->preferences->plug-in development-Targetplatform->Reload
Re: Plugin "out of sync" [message #317244 is a reply to message #316799] Fri, 29 June 2007 07:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: exquisitus.news.eclipse.org

Hi,

You may also want to try reloading the platform plugins. This can be
done in Window->preferences->plug-in development-Targetplatform->Reload
Re: Plugin &quot;out of sync&quot; [message #317256 is a reply to message #316698] Fri, 29 June 2007 12:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: automatic.javalobby.org

The 'plug-in out of sync' is unrelated to the filing system. Usually, it's a corrupt cache for either the target plug-in workspace or a bad launcher.

You can get rid of these (and all your settings ...) by deleting the .metadata directory from the Eclipse workspace. You might want to rename it first so that you can roll back if necessary.

The individual fixes usually involve getting rid of individual launch configurations and refreshing the PDE target workspace in the preferences (which rebuilds the cache). But frankly, if you don't have many preferences saved, deleting the .metadata is a fast way of solving it most of the time.

Alex.
Re: Plugin &quot;out of sync&quot; [message #1255702 is a reply to message #317256] Mon, 24 February 2014 18:31 Go to previous messageGo to next message
Hoppinjohnz zhu is currently offline Hoppinjohnz zhuFriend
Messages: 1
Registered: February 2014
Junior Member
I just needed to reset my target, similar to resetting the platform target if you don't use your customized target.
Re: Plugin &quot;out of sync&quot; [message #1721028 is a reply to message #1255702] Fri, 22 January 2016 16:58 Go to previous message
David M. Karr is currently offline David M. KarrFriend
Messages: 800
Registered: July 2009
Senior Member
This is a very old post, but I'm also seeing the same problem. I've tried "Reload" on the target platform, but I see no "Reset" option. In any case, doing "Reload" doesn't get rid of the "(out of sync)" and the red marker on the project listed in the "Add" dialog for plugin dependencies. I created a new project in this multi-module plugin build, but I always see "(out of sync)" when I try to add this new plugin as a dependency on another existing plugin. I haven't attempted the ".metadata" purge yet, as that looks like a "last resort" thing.
Previous Topic:Customizing Eclipse Dark Theme on Mars
Next Topic:New plugin module says "out of sync" when trying to add plugin dependency for new module
Goto Forum:
  


Current Time: Tue Mar 19 05:05:46 GMT 2024

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

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

Back to the top