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.
如何将 jar 文件(通过 buildr 打包)和脚本文件打包成 zip 文件?jar 文件是根据 buildfile 创建的:
define "myapp" do ... package(:jar) ... end
我试过Zip Task,但没有用。
你可以使用这个:
package(:zip).include(package(:jar), :path => "distrib")
或者您可以为分发定义一个子项目,请参阅此示例。