开发者

passing java.library.path parameter to testng

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜