Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [egit-dev] Selected files are not add to commit

On Monday, July 04, 2011 06:06:50 PM you wrote:


> is another one under /sscontrol/sscontrol~cli:


> /sscontrol/.project

> /sscontrol/sscontrol~cli/.project

Yes, that's correct.


> Effectively the second one is then nested into the first one (in terms of

> nesting folders in the file system).

> If you import both these projects into the same Eclipse workspace you will

> hit the problems I mentioned

> since the Eclipse resource model doesn't handle this situation (projects

> nested in the same folder tree)

> cleanly, which will cause weird problems in egit. The level of weirdness

> depends on the Eclipse platform

> version you are using, a real solution from the platform is only promised

> for Eclipse 4 (see the bug I refered to).

That is how the maven-eclipse plugin works. I don't have any strange behavior except Egit.


> The screenshot doesn't really help as it's not showing hidden files like

> .project :-)


> So as I said: do not import both parent project and its nested children

> projects into the same Eclipse workspace

> then everything should work. If you want to import both you could resolve

> the problem by re-organizing the folder tree to:


> /sscontrol/parent/.project

> /sscontrol/sscontrol~cli/.project

Now I understand what you mean. Yes I could do that. Thank you for your time and help.


Erwin Mueller

Back to the top