Exporting IntelliJ IDEA Projects to Eclipse
On this page:
You can export an IntelliJ IDEA project to Eclipse. Such export results in creating Eclipse project files
each module file (
*.iml) in the module directory that contains the content root.
Another way to export an IntelliJ IDEA module to Eclipse project lays with converting such module to an Eclipse-compatible format.
The Eclipse Integration plugin should be enabled. The plugin is bundled with IntelliJ IDEA and activated by default. If not, enable it on the Plugins page of the Settings dialog box as described in Enabling and Disabling Plugins.
Exporting project to eclipse
To export the currently open project to Eclipse
- On the main menu, choose . Export to Eclipse dialog displays the list of modules that exist in the current project.
- Select the modules to be exported.
- For the modules you want to be synchronized with the corresponding Eclipse projects, check the Link option.
- Click OK.
Converting IntelliJ IDEA module
To convert an IntelliJ IDEA module to Eclipse-compatible format
- On the main menu, choose , or press Ctrl+Shift+Alt+S .
- In the Project Structure dialog, select the module to be converted.
- Click Dependencies tab.
- From the Dependencies storage format drop-down list, select Eclipse (
When you open an exported project in Eclipse, note that Eclipse needs to import the
.classpath file into its workspace.
As of this writing, migration from IntelliJ IDEA to Eclipse is subject to certain limitations:
- IntelliJ IDEA modules with multiple content roots are not migrated.
- External sources in Eclipse are not migrated.
- Only Java modules are created automatically when importing. However, any module can be converted to Eclipse compatible format manually.
- Default workspace JRE is not converted to/from Project SDK.