This entry was posted
on Tuesday, December 12th, 2006 at 10:29 am and is filed under .
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
I understand that this has been reported before, however I wonder if the problem has cropped up again under 322.
I have tried rcpcnf.zip with Eclipse 322 on both Windows (JRE 1.5.0_11) & MacOS (JRE 1.5.0_06). In both cases I saw the same behavior reported by Jef Gearhart. New projects don’t show up unless their parent directory exists at runtime, for example, runtime-rcpCNF.product. The same is true when a product is exported via the product export wizard.
I would appreciate any help in this regard. Thanks in advance,
John Emerson
I’ve just tried the example and everything seems fine. I can create new projects and they’re visible immediately. However, the next time I start up the application I see the following on my console
!ENTRY org.eclipse.core.resources 2 10035 2007-03-16 10:02:41.359
!MESSAGE A workspace crash was detected. The previous session did not exit normally.
This is quite reproducible (clear workspace, create project, restart application, and it happens), do you have any idea why it happens?
Note that you have to turn on the logging (-consoleLog option) to see this message.
I’ve also noticed that the keyboard shortcuts don’t work in the example. Even though the copy, paste, delete etc. actions are available (through the context menu), their shortcuts don’t work. Any ideas?
In 3.3 build N20070510 Vista, I dropped the example in and ran it as a rcpCNF.product. Everything came up ok but new projects would not show up in the navigator.
I ran it as a platform.ide.product and it worked. Curiously, running it as a rcpCNF.product thereafter also worked, so presumably there was something left in workspace state that made the difference.
I am facing a problem , that is in my rcp application, after creating the projects if I close and reopen the Navigator, a fresh navigator view is shown. I am not able to see the projects created earlier in it..
March 1st, 2007 at 11:02 pm
I understand that this has been reported before, however I wonder if the problem has cropped up again under 322.
I have tried rcpcnf.zip with Eclipse 322 on both Windows (JRE 1.5.0_11) & MacOS (JRE 1.5.0_06). In both cases I saw the same behavior reported by Jef Gearhart. New projects don’t show up unless their parent directory exists at runtime, for example, runtime-rcpCNF.product. The same is true when a product is exported via the product export wizard.
I would appreciate any help in this regard. Thanks in advance,
John Emerson
March 16th, 2007 at 11:10 am
I’ve just tried the example and everything seems fine. I can create new projects and they’re visible immediately. However, the next time I start up the application I see the following on my console
!ENTRY org.eclipse.core.resources 2 10035 2007-03-16 10:02:41.359
!MESSAGE A workspace crash was detected. The previous session did not exit normally.
This is quite reproducible (clear workspace, create project, restart application, and it happens), do you have any idea why it happens?
Note that you have to turn on the logging (-consoleLog option) to see this message.
March 16th, 2007 at 11:36 am
Well, should’ve consulted bugzilla first. Apparently, this is a known issue, see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=118420
March 16th, 2007 at 5:38 pm
I’ve also noticed that the keyboard shortcuts don’t work in the example. Even though the copy, paste, delete etc. actions are available (through the context menu), their shortcuts don’t work. Any ideas?
March 20th, 2007 at 1:59 pm
Found the issue, I had to register the actions in my ApplicationActionBarAdvisor.makeActions, then the shortcuts work
protected void makeActions(IWorkbenchWindow window) {
copyAction = ActionFactory.COPY.create(window);
register(copyAction);
pasteAction = ActionFactory.PASTE.create(window);
register(pasteAction);
deleteAction = ActionFactory.DELETE.create(window);
register(deleteAction);
….
May 11th, 2007 at 11:21 pm
In 3.3 build N20070510 Vista, I dropped the example in and ran it as a rcpCNF.product. Everything came up ok but new projects would not show up in the navigator.
I ran it as a platform.ide.product and it worked. Curiously, running it as a rcpCNF.product thereafter also worked, so presumably there was something left in workspace state that made the difference.
August 9th, 2007 at 8:46 am
Hi
I am facing a problem , that is in my rcp application, after creating the projects if I close and reopen the Navigator, a fresh navigator view is shown. I am not able to see the projects created earlier in it..
Any Idea to solve this.
Thanks
Biju
August 3rd, 2008 at 4:00 pm
Hello,
many thanks for yor code.
February 17th, 2009 at 2:47 am
Hello Thanks for this great information – it took a long time to figure out what went wrong – in my RCP – THANKS !
/TS
May 29th, 2009 at 11:44 pm
[...] http://www.cpuidle.de/blog/?attachment_id=50 [...]