سؤال

I am working on a java project. The developer who started working on it is pretty firm on using myeclipse and I am pretty firm on using eclipse. Is there a way I can use the project settings that would not conflict with MyEclipse. When I open the project in Eclipse, I see a lot of myeclipse jar files for Java EE and what not. He's not using maven.

هل كانت مفيدة؟

المحلول

You will need to keep your project folders private and only share the source. Both of you cannot use the same project metadata.

نصائح أخرى

Sharing metadata will cause both of you pain. And even more when upgrading to newer versions of eclipse and reading old projects.

Our solution was to switch to maven, and NOT having any metadata in source control repository. The m2e plugin then generates exactly the metadata you need when you import the maven projects in Eclipse.

An added benefit was that suddenly our projects worked with Netbeans and IntelliJ without any extra effort.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top