Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何让 JVM 在用户指定的位置而不是默认位置(用户的主目录)中搜索 .keystore 文件?
如果您在谈论 SSL,那么
-Djavax.net.ssl.trustStore=path
由于您正在执行 ant 构建,因此您应该SignJar通过设置keystore参数来参数化任务。
SignJar
keystore
http://ant.apache.org/manual/Tasks/signjar.html