|
|
Re: Git Manifestation and EGit updating [message #655936 is a reply to message #641013] |
Wed, 23 February 2011 11:39 |
Matthew Webber Messages: 198 Registered: December 2010 |
Senior Member |
|
|
>> I did create the local Git repos before running the manifestation. Perhaps that wasn't the right thing to do..
That's not a factor. I also get the problem when I let Buckminster make the local clone. Description:
I have a git repository which looks like this:
repository
-- .git
-- features
-- xxx-feature
-- plugins
-- xxx
My rmap looks like this:
<rm:searchPath name="diamond_git">
<rm:provider componentTypes="eclipse.feature" readerType="git">
<rm:uri format="{0}/mystuff,features/{1}-feature">
<bc:propertyRef key="workspace.root"/>
<bc:propertyRef key="buckminster.component"/>
</rm:uri>
<rm:property key="git.remote.uri" value="git://hudson:9418/gda_diamond_beamline_i20"/>
<rm:property key="git.remote.name" value="gitonhudson"/>
<rm:property key="git.auto.fetch" value="true"/>
</rm:provider>
<rm:provider componentTypes="osgi.bundle" readerType="git">
<rm:uri format="{0}/mystuff,plugins/{1}">
<bc:propertyRef key="workspace.root"/>
<bc:propertyRef key="buckminster.component"/>
</rm:uri>
<rm:property key="git.remote.uri" value="git://hudson:9418/gda_diamond_beamline_i20"/>
<rm:property key="git.remote.name" value="gitonhudson"/>
<rm:property key="git.auto.fetch" value="true"/>
</rm:provider>
</rm:searchPath>
When I materialize (headlessly), the local clone ${workspace.root}/mystuff is created, and it looks like I expect. If I then start the IDE pointing to the workspace I just materialized, the projects are there as I expect. However, in the plugin project, all of the files have the Removed (dark-gray X) markers on them. In the feature plugin, everything is ok.
I'm obviously not the only one to have stumbled across this. There is a comment in the EGit forum ( http://www.eclipse.org/forums/index.php?t=rview&goto=637 684#msg_637684If) that says Quote: | If I do a reset.. for any project it fixes the issue.
| but I have no idea what "reset" means here!
I couldn't see any bugzilla for this. Should I open one, and if so, should it be for EGit or Buckminster? I saw a comment somewhere suggesting that it is triggered by Buckminster doing a sparse checkout, but I'm not sure if that is correct or not.
Matthew Webber
|
|
|
|
Powered by
FUDForum. Page generated in 0.02472 seconds