开发者

How do I set -DmyConfig=whatever when running a java program through "run file" in Netbeans?

I'm using netbeans 6.7.1 and I have a maven web project (war file).

I'd like to profile part of the project by running a java class with a main method. I need to specify a -DconfigDir=whatever when running this program.

How do you specify this in netbeans?

In eclipse I simply edit the run configurations. I've only seen where you can setup run conf开发者_运维问答igurations for "jar" projects, not "war" projects.


It looks like you can do this in NetBeans 6.9.

How do I set -DmyConfig=whatever when running a java program through "run file" in Netbeans?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜