Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

HTML

Redirect
locationhttps://www.jetbrains.com/help/idea/creating-projects.html

 

HTML
<table width="100%">
<tr>
<td width="33%" align="left"><a href="http://confluence.jetbrains.com/display/IntelliJIDEA/Working+in+Eclipse+Compatibility+Mode">Previous</a></td|http://confluence.jetbrains.com/display/IntelliJIDEA/Getting+Started+with+Android+Development+in+IntelliJ+IDEA%22%3EPrevious%3C/a%3E%3C/td|http://confluence.jetbrains.com/display/IntelliJIDEA/IntelliJ+IDEA+for+Eclipse+Users%22%3EPrevious%3C/a%3E%3C/td%7Chttp://confluence.jetbrains.com/display/IntelliJIDEA/Getting+Started+with+Android+Development+in+IntelliJ+IDEA%22%3EPrevious%3C/a%3E%3C/td]\]>
<td width="33%" align="center"><a href="http://confluence.jetbrains.com/display/IntelliJIDEA/Working+in+Eclipse+Compatibility+Mode">Top</a></td|http://confluence.jetbrains.com/display/IntelliJIDEA/IntelliJ+IDEA+for+Eclipse+Users%22%3ETop%3C/a%3E%3C/td]>
<td width="33%" align="right"><a href="http://confluence.jetbrains.com/display/IntelliJIDEA/Compiler">Next</a></td|http://confluence.jetbrains.com/display/IntelliJIDEA/Working+in+Eclipse+Compatibility+Mode%22%3ENext%3C/a%3E%3C/td]>
</tr>
</table>
IntelliJ IDEA and Eclipse store project information including information on external modules in different places and using different file formats--mostly different XML schemas. You have .classpath and .project files in Eclipse; you have a .iml file in IntelliJ IDEA.

...

To create a new project importing settings and files from an existing Eclipse project, from the main menu you click 

Wiki Markup
{span:class=shortcut}File →&nbsp;Import Project ... {span}
and proceed selecting an existing Eclipse project. In particular, you navigate to the directory and pick up the desired .project or .classpath file.
When doing so, you can choose to:

  • Keep IntelliJ IDEA project files side by side with Eclipse or in a different folder to avoid contamination of the Eclipse folders.
  • Keep IntelliJ IDEA and Eclipses projects in sync so that each environment detects changes from the other.

...

To import an Eclipse module into an existing IntelliJ IDEA project, from the main menu you click

Wiki Markup
{span:class=shortcut}File →&nbsp;Import Module... {span}
and navigate to the desired .project or .classpath file.

4.  Create an Eclipse Compatible Project from an IntelliJ IDEA Project

...


Finally, you can turn an existing IntelliJ IDEA project to use project files in the Eclipse format at any time. This will preserve the usability of the project also in Eclipse while keeping the project usable also from IntelliJ IDEA.

HTML

<table width="100%">
<tr>
<td width="33%" align="left"><a href="http://confluence.jetbrains.com/display/IntelliJIDEA/Working+in+Eclipse+Compatibility+Mode">Previous</a></td|http://confluence.jetbrains.com/display/IntelliJIDEA/Getting+Started+with+Android+Development+in+IntelliJ+IDEA%22%3EPrevious%3C/a%3E%3C/td|http://confluence.jetbrains.com/display/IntelliJIDEA/IntelliJ+IDEA+for+Eclipse+Users%22%3EPrevious%3C/a%3E%3C/td%7Chttp://confluence.jetbrains.com/display/IntelliJIDEA/Getting+Started+with+Android+Development+in+IntelliJ+IDEA%22%3EPrevious%3C/a%3E%3C/td]\]>
<td width="33%" align="center"><a href="http://confluence.jetbrains.com/display/IntelliJIDEA/Working+in+Eclipse+Compatibility+Mode">Top</a></td|http://confluence.jetbrains.com/display/IntelliJIDEA/IntelliJ+IDEA+for+Eclipse+Users%22%3ETop%3C/a%3E%3C/td]>
<td width="33%" align="right"><a href="http://confluence.jetbrains.com/display/IntelliJIDEA/Compiler">Next</a></td|http://confluence.jetbrains.com/display/IntelliJIDEA/Working+in+Eclipse+Compatibility+Mode%22%3ENext%3C/a%3E%3C/td]>
</tr>
</table>