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.
您好我正在尝试使用 webstart 部署应用程序。我需要更新一个在我实际部署之前签名的 jar(基本上是为了更新 IP/端口信息)。我正在尝试使用 ANT 来更新 jar。有没有办法做到这一点?
我不能专门谈论 ANT 或 JAR 文件。但一般来说,签名的目的之一是防止篡改代码。修改代码后,签名将不再有效,这是设计使然。进行更新后,您必须重新签署 JAR 文件。