Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to refreshing the overall workspace?
How to refreshing the overall workspace? [message #331705] Wed, 17 September 2008 13:04 Go to next message
Robert K. is currently offline Robert K.Friend
Messages: 14
Registered: July 2009
Junior Member
Hi,

if I add/remove/modify projects directly in the filesystem outside of
Eclipse, Eclipse does not recognize those operations. How can I refresh
the overall workspace making Eclipse re-read all projects and project
configuration files, add new projects and remove missing projects?

Robert
Re: How to refreshing the overall workspace? [message #331707 is a reply to message #331705] Wed, 17 September 2008 13:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Robert wrote:
> Hi,
>
> if I add/remove/modify projects directly in the filesystem outside of
> Eclipse, Eclipse does not recognize those operations. How can I refresh
> the overall workspace making Eclipse re-read all projects and project
> configuration files, add new projects and remove missing projects?

The workspace does not work like that. It is NOT a direct reflection of
the contents of the file system, but rather a logical container for
Projects. Those Projects can be physically located in the workspace
directory, or elsewhere. Similarly, it is perfectly valid for a
workspace directory to contain files, even directory structures that
look like Projects, that are not managed by or reflected in the
workspace. For example, delete a project WITHOUT selecting the option to
delete the contents on disk. The Project is gone from the workspace (a
logical view) but the files remain in their original location. That
project can easily be "resurrected" by importing or "creating" with the
same name and in the same location as the original.

If you explain what you are trying to do at a high level, perhaps we can
offer a supported way of achieving that goal within the design of the
workspace and Projects.

Hope this helps,
Eric
Re: How to refreshing the overall workspace? [message #331708 is a reply to message #331707] Wed, 17 September 2008 13:37 Go to previous messageGo to next message
Robert K. is currently offline Robert K.Friend
Messages: 14
Registered: July 2009
Junior Member
Ok, I got it.
Especially the "delete project without project content" example were very
demonstrative. Therefore updating the project-list from workspace can not
be done.

But there is still one problem left open:
How to make Eclipse reflecting the changes to project dependant
configuration files (.project or a file from the .settings folder?.
This sometime happens when I retrieve project updates form the project SVN
repository.
I tried a lot for making Eclipse to notify and apply those changes but
neither cleaning a project nor closing and re-opening a project does what
I need.

Robert
Re: How to refreshing the overall workspace? [message #331746 is a reply to message #331708] Fri, 19 September 2008 13:36 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

On 9/17/2008 9:37 AM, Robert wrote:
> Ok, I got it. Especially the "delete project without project content"
> example were very demonstrative. Therefore updating the project-list
> from workspace can not be done.
>
> But there is still one problem left open: How to make Eclipse reflecting
> the changes to project dependant configuration files (.project or a file
> from the .settings folder?. This sometime happens when I retrieve
> project updates form the project SVN repository. I tried a lot for
> making Eclipse to notify and apply those changes but neither cleaning a
> project nor closing and re-opening a project does what I need.

Are you updating the files from outside Eclipse (like using an external
SVN client program)? If so, I have two responses:

A) after updating any workspace files outside of Eclipse, you need to
Right-click the project and choose Refresh to make Eclipse aware of the
changes.

B) Why don't you try one of the SVN integration plugins for Eclipse,
either Subversive or Subclipse?

Hope this helps,
Eric
Previous Topic:Custom Eclipse Distribution
Next Topic:Update command handlers
Goto Forum:
  


Current Time: Sun Aug 11 18:39:43 GMT 2024

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

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

Back to the top