Share Run/Debug configuration

When share option is selected the xml config is saved into the .idea/runConfigurations folder but configuration is not showing up in the different project even after the xml files been manfully copied under the prospective idea/runConfigurationsof that project

--Vladimir

8 comments
Comment actions Permalink

Try to copy the files when IDEA is not running or the project is closed. Does it help?

What type of Run/Debug configuration is used? Make sure the corresponding plugin is enabled for the second IDEA installation.

0
Comment actions Permalink

I have closed and reopen the project - didn't work, then closed and reopen the Idea still same result. It is basic Application configuration so plugins are not an issue, and I'm using the same Idea instance anyway.
I think that idea should refresh it when files are added to the folder.

--Vladimir

0
Comment actions Permalink

What IDEA version do you use? Is it the same for both installations?

Can you share .xml file that is not detected as Run configuration when you copy it?

0
Comment actions Permalink

Idea Version 140.2493.5

Z:\.idea\runConfigurations\XXXYYYTest.xml

<component name="ProjectRunConfigurationManager">
  <configuration default="false" name="XXXYYTest" type="Application" factoryName="Application" nameIsGenerated="true">
    <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea">
      <pattern>
        <option name="PATTERN" value="com.xyz.launcher.*" />
        <option name="ENABLED" value="true" />
      </pattern>
    </extension>
    <option name="MAIN_CLASS_NAME" value="com.xyz.launcher.XXXYYTest" />
    <option name="VM_PARAMETERS" value="" />
    <option name="PROGRAM_PARAMETERS" value="" />
    <option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$/../eagle-server" />
    <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
    <option name="ALTERNATIVE_JRE_PATH" value="" />
    <option name="ENABLE_SWING_INSPECTOR" value="false" />
    <option name="ENV_VARIABLES" />
    <option name="PASS_PARENT_ENVS" value="true" />
    <module name="" />
    <envs />
    <RunnerSettings RunnerId="Debug">
      <option name="DEBUG_PORT" value="" />
      <option name="TRANSPORT" value="0" />
      <option name="LOCAL" value="true" />
    </RunnerSettings>
    <RunnerSettings RunnerId="JRebel Debug">
      <option name="DEBUG_PORT" value="" />
      <option name="TRANSPORT" value="0" />
      <option name="LOCAL" value="true" />
    </RunnerSettings>
    <RunnerSettings RunnerId="Run" />
    <ConfigurationWrapper RunnerId="Debug" />
    <ConfigurationWrapper RunnerId="Run" />
    <method />
  </configuration>
</component>
0
Comment actions Permalink

Can't reproduce, configuration was loaded in another project after copying the file (IDEA 14.0.3):

https://dl.dropboxusercontent.com/u/2752840/ShareXmod/2015-02/RunDebug_Configurations_2015-02-23_20-13-29.png

Keeping the project in the drive root is a bad idea, try moving it to the subdirectory and see if it helps. Also try with the local drive if the one you are using is remote.

0
Comment actions Permalink

It is an EAP 140.2493.5 project is not under the drive root, I just deleted the path :)

0
Comment actions Permalink

Tried with EAP, aslo works fine:

https://dl.dropboxusercontent.com/u/2752840/ShareXmod/2015-02/2015-02-23_22-20-04.png

Make sure the file is named exactly as the "name" attribute value inside the XML.

0
Comment actions Permalink

Sorry for confusion it is working indeed, I have tree project structure and copied it into the wrong .Idea folder. Feel embarrassed :(

Thanks again for your prompt help.

--Vladimir

0

Please sign in to leave a comment.