gpt4 book ai didi

eclipse - 在 Eclipse 中设置 ANT_OPTS

转载 作者:行者123 更新时间:2023-12-03 07:20:29 25 4
gpt4 key购买 nike

有谁知道如何在 eclipse 的 ant runner 中设置 ANT_OPTS 并将其拾取吗?

我尝试通过“外部工具”设置中的“环境”选项卡进行设置,但似乎没有被选中。

我正在尝试设置以下内容:

-Djava.util.logging.config.file=logging.properties

这样我就可以在某些 Oracle 部署 ant 任务中打开调试日志记录。他们的说明特别指出要设置 ANT_OPTS,尽管任何其他方式让 ant 接受该设置也可以。

最佳答案

你是对的:
JRE 属性的种类将在启动器的“参数”选项卡(VM 部分)中设置:

alt text
(来源:sim-bio.org)

The Environment tab defines the environment variable values to use when running or debugging a Java application. By default, the environment is inherited from the Eclipse runtime. You may override or append to the inherited environment.

alt text
(来源:eclipse.org)

关于eclipse - 在 Eclipse 中设置 ANT_OPTS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/810114/

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