Running Java Eclipse Launch Configuration File

I am looking for a file where Eclipse stores its launch configurations. I am developing Java in Ubuntu.

One of the executables I am developing requires output from another executable as an argument. Let's just say the output of "B" should be passed as a command line argument to "A". In Eclipse, I don’t want to manually change “Run Configuration” every time. Where does Eclipse store these esp configuration arguments?

I found "eclipseArguments.txt" in the "Advanced" folder of the project, but this is not the same as the arguments that I pass to the "Run configuration". The .project file also does not contain it. I'm confused.

Thanks for the help.

+46
java eclipse configuration-files
Feb 23 2018-11-17T00:
source share
3 answers

I found it in the Debug configuration. As soon as I run the module, in the debug window, I can right-click on the link "Properties" or a similar option, and then the full path with all the arguments.

0
May 24 '11 at 9:32 a.m.
source share

Configuration files can be found in:

<workspace> /. metadata / .plugins / org.eclipse.debug.core / .launches

There must be a *.launch file for each configuration that you have in this workspace stored there.

+86
Jul 20 '11 at 12:55
source share

I'm not sure where Eclipse stores local startup configurations (probably somewhere in the workspace directory. Metadata), but under the "common" tab of the "Run Configurations" dialog box, it is possible to save it as a "General file" within the project, and in this case it will appear in your project directory.

+10
Feb 23 '11 at 18:24
source share



All Articles