Plugin "out of sync" [message #316698] |
Fri, 15 June 2007 08:49  |
Eclipse User |
|
|
|
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 09:25   |
Eclipse User |
|
|
|
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 09:33   |
Eclipse User |
|
|
|
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 #316799 is a reply to message #316791] |
Tue, 19 June 2007 06:55   |
Eclipse User |
|
|
|
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. 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:<br>
<blockquote><a
href=" http://www.eclipse.org/search/search.cgi?cmd=Search%21&a mp ;form=extended&wf=574a74&ps=10&m=all &t=5&ul=%2Fnewslists%2Fnews.eclipse.platform &wm=wrd&t=News&t=Mail "> http://www.eclipse.org/search/search.cgi?cmd=Search%21&a mp ;form=extended&wf=574a74&ps=10&m=all &t=5&ul=%2Fnewslists%2Fnews.eclipse.platform &wm=wrd&t=News&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 #1721028 is a reply to message #1255702] |
Fri, 22 January 2016 11:58  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.05398 seconds