gpt4 book ai didi

eclipse - 如何获取 Eclipse 运行配置的命令行?

转载 作者:行者123 更新时间:2023-12-02 11:47:07 26 4
gpt4 key购买 nike

我在 Eclipse 中有几个 JUnit 运行配置,我需要在命令行上复制这些配置才能使用第三方分析工具。到目前为止,我只是通过查看运行配置并编写适当的类路径和命令行参数来手动编写命令行。

Eclipse 的运行配置(普通、JUnit 或其他)最终必须归结为命令行,那么我如何以及在哪里找到它?

最佳答案

我找到了solution在 Stack Overflow 上查看 Java 程序运行配置,该配置也适用于 JUnit 运行配置。

You can get the full command executed by your configuration on the Debug tab, or more specifically the Debug view.

  1. Run your application
  2. Go to your Debug perspective
  3. There should be an entry in there (in the Debug View) for the app you've just executed
  4. Right-click the node which references java.exe or javaw.exe and select Properties In the dialog that pops up you'll see the Command Line which includes all jars, parameters, etc

关于eclipse - 如何获取 Eclipse 运行配置的命令行?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20891108/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com