IntelliJ IDEA and Eclipse on the same project

Hi, I am currently working on an Android project with a group of developers using both Eclipse and IntelliJ. We use SVN as our repo. It seems that every time someone uses eclipse checks, they break IDEA people and vice versa. I was wondering if anyone has any recommendations regarding which files we should ignore from SCM and any other recommendations for a smoother process?

+7
source share
3 answers

I would suggest saving IDE files for specific projects from versions. I have few Android projects where I use Intellij IDEA and Eclipse interchangeably, and they seem to blend well together.

Here is what I have in the git repository:

.gitignore AndroidManifest.xml ant.properties build.xml proguard.cfg project.properties res/ folder src/ folder 
+3
source

It is very difficult to give advice without knowing the details of what is β€œbreaking”. But I can tell you that for Eclipse you need to install the .project and .classpath . If there is a directory. settings , this also needs to be checked. These files are Eclipse specific and do not affect IntelliJ or any other tool.

0
source

Check out https://github.com/github/gitignore . Just add the IDEs, languages, and frameworks you use. Eclipse and IntelliJ are ignored in the Global/ folder.

0
source

All Articles