|
Re: Plugin "out of sync" [message #316699 is a reply to message #316698] |
Fri, 15 June 2007 13:01 |
Eclipse User |
|
|
|
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 |
Hauke Fuhrmann 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 |
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 10: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 #317242 is a reply to message #316799] |
Fri, 29 June 2007 07:27 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 #317256 is a reply to message #316698] |
Fri, 29 June 2007 12:04 |
Eclipse User |
|
|
|
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.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03029 seconds