|problems importing submodules into eclipse [message #1017944]
||Tue, 12 March 2013 20:38
| Gray Mising name
Registered: October 2011
I've using Eclipse 3.7.2 with Egit 2.3.1 and m2e 1.2.0.|
My project has a root git project and a number of sub-modules. For the life of me I cannot properly import some of my submodules. Some of them seem to work fine. Either I get a directory that in Eclipse has no Git markups at all or I get one that shows every directory as having changes although none of them are. git from the command line has no problems at all. The eclipse svn plugin also has no problems.
Here's approximately what I do:
- I'm in github.com/j256/ormlite-master-pom
- Add a submodule from the command line: git submodule add email@example.com:XXX/ormlite-tests.git
- Refresh Eclipse to get the submodule to show up.
- Open the Submodules folder, right click on ormlite-tests and pull down to Import Projects
- "Import existing projects" is selected. Click Next.
- ormlite-tests is checked off. Add it to my working set. Click Next (maybe Finish).
- ormlite-tests shows up in my project list as having changes. > ormlite-tests
- Opening it up, all directories show changes (see image). git command line disagrees. Files that _are_ changed do not show up as being changed. Synchronization shows no changes.
If I import it from just a right click in the project list I don't get any git associations. Any idea what I'm doing wrong here?
Any help would be appreciated. This is totally reproducible. Thanks.
[Updated on: Tue, 12 March 2013 20:40]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01599 seconds