Over a million developers have joined DZone.

IntelliJ IDEA Keeps Eclipse Projects in Sync - Part II

· Java Zone

Navigate the Maze of the End-User Experience and pick up this APM Essential guide, brought to you in partnership with CA Technologies

In the previous post we have discussed the basic integration between IntelliJ IDEA and Eclipse. What is most important, is the ability to keep the project structure synchronized between both IDEs.

Now, we have a project already imported. What shall we do to make libraries and dependencies available to the projects in IntelliJ IDEA and Eclipse? IntelliJ IDEA suggests a special setting that helps track changes in the project structure.

Open the Project Settings dialog (Ctrl+Alt+S-> 1) and click Modules:









In the Dependencies tab, make sure that the dependencies are stored in Eclipse format:





Now let’s see how it works. Add an archive to one of the modules in your IntelliJ IDEA project:











The new archive is properly added to the Eclipse .classpath file:








When you open the same project in Eclipse, you can explore its properties and find the newly added dependency in the right place:










The reverse action is also available: if a library is added in Eclipse, it becomes available in the synchronized IntelliJ IDEA project.


Thrive in the application economy with an APM model that is strategic. Be E.P.I.C. with CA APM.  Brought to you in partnership with CA Technologies.


Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}