Can i store unix permissions in a zip file (built with apache ant)?

前端 未结 7 1638
抹茶落季
抹茶落季 2021-01-02 02:03

I\'m building a linux installer for a Java application, and I end up with an install.jar and a setup.sh that I put in a zip file using ant.

The idea is the user unzi

相关标签:
7条回答
  • 2021-01-02 02:49

    You don't have to switch to tar files. I don't know why people who don't know Ant are offering advice on this topic.

    Use zipfileset's filemode parameter. Documented at http://ant.apache.org/manual/Types/zipfileset.html

    0 讨论(0)
提交回复
热议问题