【发布时间】:2021-12-16 22:43:02
【问题描述】:
如何更新 .ear 文件中的 .jar 文件并使用 bash 脚本保存 .ear 文件?
流程如下:
I have an older.ear (located at Documents/older.ear)
that contains older.ear/APP-INF/libs/updateme.jar &
I have a updateme.jar file (located at Documents/libs/updateme.jar),
which needs to be updated to older.ear/APP-INF/libs/updateme.jar,
then the ear file has to be saved.
到目前为止,我一直在使用 7zip,但希望使用 bash 脚本自动完成。
【问题讨论】: