Intellij idea to run backup configuration

I would like to create a script to change my debug configuration in intellij. The tomcat path is changing, and I need to manually enter the launch configuration and edit things. I tried to find the place where intellij saves these settings to no avail.

question : does anyone know where IJ stores its launch configuration

+71
intellij-idea
Jun 28 '10 at 20:18
source share
2 answers

The location will depend on two factors: whether this configuration is local to the user or in conjunction with other developers, and if you use a file based on (legacy) or a directory based project format.

  • File Based Project, Local Configuration: .iws file
  • Directory-based project, local configuration: workspace.xml file in the .idea directory
  • File Based Project, General Configuration: .ipr file
  • Directory-based project, general configuration: .xml file under runConfigurations subdirectory of runConfigurations directory
+110
Jun 28 '10 at 21:25
source share

Here is .idea \ runConfigurations (fixed for Idea 11). Just copy this folder to the new project.

EDIT: According to comment , if the runConfigurations folder does not exist, check the Share box inside the Run / Debug configuration

+24
May 31 '12 at 12:56
source share



All Articles