Search code examples
mavennetbeansintellij-ideanetbeans-platformrun-configuration

IntelliJ run configurations for Netbeans RCP project


there's a project I'm working on with a team (BUMMEL) and we've migrated it's build tool from Ant to Maven, to make it IDE-agnostic, and now I can open it into IntelliJ as a Maven project but I have troubles creating the run configuration for it.

Can anyone suggest me how to create a Run configuration? Also any other suggestions about running NetBeans-RCP maven-based project on IntelliJ are appreciated.


Solution

  • It looks like you should go to Edit Configurations... and add new Maven configuration.

    Then put in Working directory: field a path you your app module, for me its application/ in the project root.

    And in Command line: field put nbm:cluster-app nbm:run-platform.

    Now you can run your app by selecting a newly created configuration and pressing a green "Play" arrow.