MantisBT - CMake
View Issue Details
0013465CMakeCMakepublic2012-08-10 02:462012-11-29 02:39
Alexander Broekhuis 
Alex Neundorf 
normalfeaturealways
closednot fixable 
AppleOS X10.6.8
CMake 2.8.8 
CMake 2.8.11 
0013465: Add GIT Team provider to Eclipse Project Files
Currently the generated Eclipse project files don't have the GIT Team Provider added. Can support for this be added to the generator?
Generate Eclipse CDT4 - Unix Makefiles with CMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT for a project in a GIT repo.
Open project in Eclipse
No Team Provider is added, manually adding the Team Provider to the Source project works without a problem.
No tags attached.
Issue History
2012-08-10 02:46Alexander BroekhuisNew Issue
2012-08-10 15:15Alex NeundorfAssigned To => Alex Neundorf
2012-08-10 15:15Alex NeundorfStatusnew => assigned
2012-08-13 12:39Alex NeundorfTarget Version => CMake 2.8.10
2012-08-18 16:25Alex NeundorfNote Added: 0030701
2012-09-29 04:45Alex NeundorfNote Added: 0031112
2012-10-18 14:03Alex NeundorfTarget VersionCMake 2.8.10 => CMake 2.8.11
2012-11-28 03:50Alexander BroekhuisNote Added: 0031736
2012-11-28 03:57Alexander BroekhuisNote Edited: 0031736bug_revision_view_page.php?bugnote_id=31736#r945
2012-11-29 02:39Alex NeundorfNote Added: 0031753
2012-11-29 02:39Alex NeundorfStatusassigned => closed
2012-11-29 02:39Alex NeundorfResolutionopen => not fixable

Notes
(0030701)
Alex Neundorf   
2012-08-18 16:25   
Somehow the git support in my Eclipse doesn't like the git URL I enter (git://cmake.org/cmake.git [^]), so I didn't get this working for now.
Can you send me a .project file where the git provider is enabled ?
(0031112)
Alex Neundorf   
2012-09-29 04:45   
Hi,

see my last comment, I didn't get git working in Eclipse manually.
Can you please send me the .project and the .cproject file of an Eclipse project which has git support enabled ?

Thanks
(0031736)
Alexander Broekhuis   
2012-11-28 03:50   
(edited on: 2012-11-28 03:57)
Hi,

I haven't had time to look into this, until now, but apparently the Git provider doesn't have a project specific configuration. If I remove the generated project files, and recreate them, the Git provider is still used...

I can't find anything in the project files, but there is some entry in a workspace .metadata file for the egit plugin.
This configuration seems to list all directories set up in the Git Repo View:
File: .metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.egit.core.prefs
====
#Thu Aug 09 08:27:25 CEST 2012
eclipse.preferences.version=1
GitRepositoriesView.GitDirectories=/Users/alexander/Development/Celix/celix/.git\:
====
Since I can't find anything else, and adding the Git directory to the Repo View works, I don't see anything CMake can do with this. I don't think it is a good idea for CMake to change a Workspace setting..

(0031753)
Alex Neundorf   
2012-11-29 02:39   
Thanks for your input, so I close this one now.
In some things Eclipse is ... not as I would hope from a CMake POV.