Search code examples
intellij-ideaideintellij-14

How to export by IntelliJ the run configuration e.g. maven configuration


I'm looking in IntelliJ for something like launcher by Eclipse?

However, is it possible to export the configuration in IntelliJ to file.

enter image description here

I would like to add the configuration to repo, to share it for the team.


Solution

  • Create and edit script launcher over Run/Debug Configuration - (1)

    Check the share option (2),

    so the script will be stored under $projectDir/.idea/runConfigurations (3)

    By new projects modify .gitignore to add the configurations:

    !.idea
    .idea/*
    !.idea/runConfigurations
    

    enter image description here