Import an IntelliJ IDEA project into NetBeans?

28,033

Solution 1

The nbproject is a required folder by NetBeans, where it keeps its project settings. The only necessary project build files needed are the project.xml and project.properties.

In project.xml, line 5 is changed to reflect the accurate name of the user's project. Also for IntelliJ, nbintellij.iml is the required file.

So for a IntelliJ project, if you create the nbproject folder with the required files (project.xml and project.properties), you'll be able to open the folder in NetBeans


You can use the following tool I've created to convert an IntelliJ project to NetBeans, and also convert a NetBeans project to IntelliJ. Please make sure you have python installed.

https://github.com/devanshkaloti/IDEProjectConverter-Java

Solution 2

Short answer: I don't believe such a tool exists.

Longer answer: You probably should not be relying on a proprietary format for your project. Depending on the project, Ant+Ivy or Maven may be a better solution.

Share:
28,033
José
Author by

José

Updated on December 10, 2020

Comments

  • José
    José over 3 years

    How can I import an IntelliJ IDEA project into Netbeans?

    I know I can just use IntelliJ but I prefer Netbeans...

    With this particular project I can't just copy the source directory into a Netbeans project... That doesn't work?

    How may I use this IntelliJ IDEA project within Netbeans?