Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Subversive » svn metadata
svn metadata [message #5592] Thu, 28 September 2006 18:46 Go to next message
Eclipse UserFriend
Originally posted by: thomas.spiessens.gmail.com

Hi everyone,
When I checkout a project using subclipse and another one using subversive and restart Eclipse again, how does Eclipse know that the first one should be under subclipse control and the other one under
subversive control ? Is there some metadata stored somewhere for each project ?

Thanks,
Thomas.
Re: svn metadata [message #5599 is a reply to message #5592] Thu, 28 September 2006 20:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: markp.softlanding.com

Thomas Spiessens wrote:

> When I checkout a project using subclipse and another one using
> subversive and restart Eclipse again, how does Eclipse know that the
> first one should be under subclipse control and the other one under
> subversive control ? Is there some metadata stored somewhere for each
> project ?

Yes. Eclipse has a mapping of Team Providers to Projects that gets
setup when you do the checkout.

Mark
Re: svn metadata [message #5606 is a reply to message #5599] Thu, 28 September 2006 20:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: thomas.spiessens.gmail.com

Mark Phippard wrote:
>
> Yes. Eclipse has a mapping of Team Providers to Projects that gets
> setup when you do the checkout.
>
> Mark

Do you know where this information is stored (workspace metadata, ...) ? Is it in binary form or just plain text so I can take a look at it ?

Thanks,
Thomas.
Re: svn metadata [message #5613 is a reply to message #5606] Fri, 29 September 2006 00:24 Go to previous message
Eclipse UserFriend
Originally posted by: markp.softlanding.com

Thomas Spiessens wrote:

> Mark Phippard wrote:
> >
> > Yes. Eclipse has a mapping of Team Providers to Projects that gets
> > setup when you do the checkout.
> >
> > Mark
>
> Do you know where this information is stored (workspace metadata,
> ...) ? Is it in binary form or just plain text so I can take a look
> at it ?

Take a look at RepositoryProvider in org.eclipse.team.core


/**
* Returns the provider for a given IProject or <code>null</code> if a
provider is not associated with
* the project or if the project is closed or does not exist. This
method should be called if the caller
* is looking for <b>any</b> repository provider. Otherwise call
<code>getProvider(project, id)</code>
* to look for a specific repository provider type.
* </p>
* @param project the project to query for a provider
* @return the repository provider associated with the project
*/
final public static RepositoryProvider getProvider(IProject project) {



Mark
Previous Topic:extension point to contribute custom decorators for comments in history views
Next Topic:Re: Mylar and team support (Subversion?)
Goto Forum:
  


Current Time: Fri Apr 26 15:36:29 GMT 2024

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

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

Back to the top