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.
我在 yuicompressor-2.4.2.zip 的 lib 文件夹中有这两个。没有它们,我完全可以正常运行压缩机。它们是干什么用的?我错过了什么吗?
在检查 yui 源代码中的依赖关系后,很明显直接使用了 jargs 类 CmdLineParser - 当检查 ant 构建文件 lib 路径时,这种依赖关系也很明显。
但是,yui 压缩器 jar 本身并不使用 lib 文件夹 - 它仅用于编译 yui 代码。实际的 yui 压缩 jar 包含 rhino 和 jargs jar 的所有内容 - 因此您实际上可以删除文件夹的所有其他内容并直接使用 yui 压缩 jar。