Java启动配置文件路径

Java启动配置文件路径

本文介绍了Eclipse Java启动配置文件路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找Eclipse存储其启动配置的文件。我在Ubuntu做一些Java开发。



我正在开发的一个可执行文件需要另一个可执行文件的输出作为参数。所以说,'B'的输出需要作为一个命令行参数传递给'A'。在Eclipse中,我不想每次手动更改运行配置。 Eclipse在哪里存储这些配置参数?



我在项目的extras文件夹中找到一个eclipseArguments.txt,但这与参数不一样我正在进入运行配置。 .project文件也不包含它。感谢您的帮助。

解决方案

我发现它在Debug配置。一旦我运行模块,在调试窗口中,我可以右键单击转到属性或类似的选项,然后有一个完整路径与所有参数。


I'm looking for a file where Eclipse stores its launch configurations. I'm doing some Java development in Ubuntu.

One of the executables i'm developing requires an output from another executable as a argument to it. So say, the output of 'B' needs to be passed as a commandline argument to 'A'. In the Eclipse, I don't want to manually change the "Run Configuration" every time. Where does Eclipse store these configurations esp the arguments?

I found a "eclipseArguments.txt" in the extras folder of the project but this isn't the same as the arguments I'm passing into the Run Configurations. The ".project" file doesn't contain it either. I'm confused.

Thanks for the help.

解决方案

I found it in Debug config. Once I run module, in the debug window I can right click an go to Properties or some similar option and then there is a full path with all arguments.

这篇关于Eclipse Java启动配置文件路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-19 02:44