Netbeans 8.2:JBOSS:如何配置程序属性

时间:2017-06-09 11:36:45

标签: netbeans jboss server arguments netbeans-8

我在netbeans 8.2中添加了JBOSS EAP 6.4。当我导航到菜单时: 服务 - >服务器 - >右键单击JBOSS服务器 - >属性 - >平台

我看到只有配置VM属性的选项。我还需要使用标志“-P”配置属性文件的路径。但我认为没有任何选择。

在eclipse中,我们可以为应用程序服务器单独配置程序属性和VM属性。如何在Netbeans 8.2中做到这一点?

1 个答案:

答案 0 :(得分:1)

I have not found option to configure program arguments, for JBOSS EAP, in Netbeans 8.2 yet. But as a workaround:

  • I copied my existing standalone.bat to new file "standalone_orig.bat"
  • Then I modified standalone.bat file to call "standalone_orig.bat" and pass program arguments to it.
  • Contents of standalone.bat would look like"

    call "standalone_orig.bat" -P <_path_to_properties_file_>

It works! Hope it helps you. Let me know if you find any option to do it from netbeans 8.2 instead.