PDA

View Full Version : Importing spring-data-document source into Eclipse



oshankerShutter
Jan 5th, 2011, 10:37 PM
I imported the source for spring-data-document from https://github.com/SpringSource/spring-data-document, and built it using maven. However, the generated Eclipse .project file at the root of the hierarchy was preventing me from importing the source into Eclipse.

Eclipse was giving compile errors, and it was not able to understand the class hierarchies at all. I found out a way to make it work. I deleted the .project file at the root, and then imported the .project files in the child dirs. Now it behaves fine.

./.project (renamed this, and then I could import the files below).
./spring-data-couchdb/.project
./spring-data-document-core/.project
./spring-data-document-parent/.project
./spring-data-mongodb/.project

Mark Pollack
Jan 24th, 2011, 11:17 AM
Hi,

Thanks for reporting this. What version of eclipse were you using?

Mark

oshankerShutter
Jan 24th, 2011, 12:15 PM
I got the latest code, the problem doesn't exist now. The Eclipse version is Helios (3.6.1)