开发者

java.security file in ANT

开发者 https://www.devze.com 2022-12-18 20:36 出处:网络
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?

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

精彩评论

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

关注公众号