开发者

java.security file in ANT

How can I force 开发者_如何学PythonAnt to use my java.security file? I'm trying to build with Ant from a command line and use this file in the JVM. Is there any way to do this via Ant command line?

Is setting an environment variable ANT_OPTS the solution?


Yes, set ANT_OPTS=-Djava.security.policy=file:./java.policy is works for me

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜