svn metadata [message #5592] |
Thu, 28 September 2006 18:46 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03504 seconds