Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » How to automatically open/close or import/delete projects when checking out branches
How to automatically open/close or import/delete projects when checking out branches [message #1384690] Fri, 30 May 2014 12:39 Go to next message
Michael Scharf is currently offline Michael ScharfFriend
Messages: 298
Registered: July 2009
Senior Member
Hi,

I have a repository with different branches and some
projects exist only in some branches. What is the
best strategy to switch branches in those cases?

Once I have imported a project into my workspace,
everything is fine. Eclipse closes it and opens
it as it disappears and reappears. But this
works only for projects that contain files that
are not managed by git (e.g. a bin directory).
Projects that are totally removed, the project
needs to be re-imported.

I wonder if there is a mechanism that allows me
to specify the projects that are part of a given
revision.

I can imagine two solutions:

1. have an 'auto-import mode', where new projects
in a git repository are automatically imported

2. a file in the the git repository, that contains
a list of projects that are supposed to imported
into the workspace

In both cases I should be able to say, "keep this
project closed, even if it disappears and re-appears".

I know there are many different workflows, but I think
it would be very helpful to be informed in some way
when new projects appear in a git repository. Else I
have to potentially do an "import existing projects"
whenever git changes.....


Michael
Re: How to automatically open/close or import/delete projects when checking out branches [message #1385045 is a reply to message #1384690] Tue, 03 June 2014 22:00 Go to previous message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 612
Registered: July 2009
Senior Member
This is a missing feature, patches welcome Wink
Previous Topic:How to clone a SSH repository
Next Topic:Error when pushing
Goto Forum:
  


Current Time: Mon Nov 24 20:36:32 GMT 2014

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

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