refresh not working properly [message #335102] |
Mon, 23 March 2009 07:03  |
Eclipse User |
|
|
|
Hello,
After creating programmaticaly a new project in the workspace, I refresh
the workspace with this code:
project.getWorkspace ().getRoot ().refreshLocal
(IWorkspaceRoot.DEPTH_INFINITE, monitor);
However, sometimes, the Project Explorer View doesn't show the new project.
What should I do? Is it possible to trigger a resource change event and
how? shoudn't this be done automatically when I build the project, since
I also do project.build (IncrementalProjectBuilder.FULL_BUILD, monitor) ?
Thanks in advance for your help!
|
|
|
|
|
|
Re: refresh not working properly [message #335259 is a reply to message #335102] |
Fri, 27 March 2009 18:35  |
Eclipse User |
|
|
|
Originally posted by: francis.oaklandsoftware.com
If you are using Eclipse before 3.5 this could be a bug, and it's likely
that it's fixed in 3.5M6, if you can reproduce this problem in 3.5M6
please file a bug report.
On Mon, 23 Mar 2009 04:03:24 -0700, Youmm P. <kototamo@gmail.com> wrote:
> Hello,
>
> After creating programmaticaly a new project in the workspace, I refresh
> the workspace with this code:
>
> project.getWorkspace ().getRoot ().refreshLocal
> (IWorkspaceRoot.DEPTH_INFINITE, monitor);
>
> However, sometimes, the Project Explorer View doesn't show the new
> project.
>
> What should I do? Is it possible to trigger a resource change event and
> how? shoudn't this be done automatically when I build the project, since
> I also do project.build (IncrementalProjectBuilder.FULL_BUILD,
> monitor) ?
>
> Thanks in advance for your help!
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
|
|
|
Powered by
FUDForum. Page generated in 0.04257 seconds