|
Re: Verify if a project come from repository (get it programmatically) [message #990266 is a reply to message #990261] |
Tue, 11 December 2012 16:28 |
Rüdiger Herrmann Messages: 581 Registered: July 2009 |
Senior Member |
|
|
Floriano,
you may want to use Team API to find out whether a project is _shared_
with a source code repository. See
org.eclipse.team.core.RepositoryProvider.isShared() for example.
Most things beyond that are specific to the respective team provider
implementation (e.g. EGit, CVS Team Support, ...)
HTH
Rüdiger
On 11.12.2012 17:10, Floriano Fauzzi wrote:
> Hi all,
> with this method
> ResourcesPlugin.getWorkspace().getRoot().getProjects();
>
> I can obtain all project that are in the project explorer view. I need
> to know if there is a way to verify if one project was imported from a
> repository ( with Egit plugin, for example).
>
> If, in the project explorer view, I can see more than one project, how
> can I filter to have only project that came back from GitHub ? (for
> example).
> Thanks for your time.
>
--
Rüdiger Herrmann
http://codeaffine.com
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02075 seconds