Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Efficient update of workspace with new config spec
Efficient update of workspace with new config spec [message #640396] Sun, 21 November 2010 17:13 Go to next message
Mikael Petterson is currently offline Mikael PettersonFriend
Messages: 158
Registered: July 2009
Senior Member
Hi,

We are using clearcase as SCM.
We use clearcase plug-in and set a new config spec (cs) from within Eclipse ( cleartool setcs <mychanged_cs>).
With my new cs directories and files does not exist in my view anymore.

Will a resource change event be triggered for these resources? ( My guess is no).
If not is there an efficient algorithm to use ( beginning in workspace root) to find out what has changed?

br,

//mike
Re: Efficient update of workspace with new config spec [message #640543 is a reply to message #640396] Mon, 22 November 2010 12:56 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Mikael Petterson wrote:
> Will a resource change event be triggered for these resources? ( My
> guess is no).
> If not is there an efficient algorithm to use ( beginning in workspace
> root) to find out what has changed?

if the tool doesn't update the resources, then you have to refresh your
workspace. Go to your package explorer/project explorer, deselect
anything, and use F5 Refresh

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Re: Efficient update of workspace with new config spec [message #640633 is a reply to message #640543] Mon, 22 November 2010 16:29 Go to previous message
Mikael Petterson is currently offline Mikael PettersonFriend
Messages: 158
Registered: July 2009
Senior Member
Hi,

How can I using the API for plug-ins check which resources I have in the workspace before I "cleartool setcs <my cs file>" and after .
Is there some kind of operation on the project (IProject) that you can recommend?

br,

//mike
Previous Topic:Can I open a SWT.MOZILLA internal browser using IWorkbenchBrowserSupport?
Next Topic:How to get a reference to a Browser
Goto Forum:
  


Current Time: Thu Apr 25 07:23:02 GMT 2024

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

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

Back to the top