开发者

passing java.library.path parameter to testng

开发者 https://www.devze.com 2023-03-25 18:53 出处:网络
How can I pass java.library.path to TestNG? I need to do the equivalent of j开发者_JAVA技巧ava -Djava.library.path=/blah

How can I pass java.library.path to TestNG?

I need to do the equivalent of

j开发者_JAVA技巧ava -Djava.library.path=/blah


If you are bootstrapping a web server, you can write it in the run configuration script in the web server.

For instance in JBoss look at this answer.


You use the jvmarg ant tag like

<jvmarg value="-Djava.library.path=${basedir}\lib" />


This is a system property that's interpreted by the JVM, why would TestNG care about it?

0

精彩评论

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

关注公众号