$ pwd
/Users/jerry/Library/Application Support/IntelliJIdea2016.3/mybatis_plus/lib
$ ls
mybatis-generator-core-1.3.2.jar mybatis_plus.jar ref.idea.common-1.0.jar
# 将要使用版本的 com 文件复制到当前目录中
$ cp -R ~/workspaces/github/profile/idea/plugin/MybatisPlugin/v2.7~v2.87/ .
$ ls
com mybatis_plus.jar
mybatis-generator-core-1.3.2.jar ref.idea.common-1.0.jar
# 使用 jar 命令进行替换,注意 com 文件夹一定要当前目录下面
$ jar uvf mybatis_plus.jar com
正在添加: com/(输入 = 0) (输出 = 0)(存储了 0%)
正在添加: com/seventh7/(输入 = 0) (输出 = 0)(存储了 0%)
正在添加: com/seventh7/mybatis/(输入 = 0) (输出 = 0)(存储了 0%)
正在添加: com/seventh7/mybatis/dom/(输入 = 0) (输出 = 0)(存储了 0%)
正在添加: com/seventh7/mybatis/dom/model/(输入 = 0) (输出 = 0)(存储了 0%)
正在添加: com/seventh7/mybatis/ref/(输入 = 0) (输出 = 0)(存储了 0%)
正在添加: com/seventh7/mybatis/ref/license/(输入 = 0) (输出 = 0)(存储了 0%)
正在添加: com/seventh7/mybatis/ref/license/ActivationDriver$1.class(输入 = 1926) (输出 = 797)(压缩了 58%)
正在添加: com/seventh7/mybatis/ref/license/ActivationDriver.class(输入 = 1398) (输出 = 656)(压缩了 53%)
正在添加: com/seventh7/mybatis/ref/RefProject$1.class(输入 = 2224) (输出 = 1092)(压缩了 50%)
正在添加: com/seventh7/mybatis/ref/RefProject.class(输入 = 1982) (输出 = 919)(压缩了 53%)
正在添加: com/seventh7/mybatis/service/(输入 = 0) (输出 = 0)(存储了 0%)
正在添加: com/seventh7/mybatis/service/JavaService$1.class(输入 = 1408) (输出 = 613)(压缩了 56%)
正在添加: com/seventh7/mybatis/service/JavaService$2.class(输入 = 1312) (输出 = 575)(压缩了 56%)
正在添加: com/seventh7/mybatis/service/JavaService.class(输入 = 10921) (输出 = 4166)(压缩了 61%)
正在添加: com/seventh7/mybatis/util/(输入 = 0) (输出 = 0)(存储了 0%)
正在添加: com/seventh7/mybatis/util/JavaUtils$SystemData.class(输入 = 3412) (输出 = 1602)(压缩了 53%)
正在添加: com/seventh7/mybatis/util/JavaUtils.class(输入 = 13339) (输出 = 4773)(压缩了 64%)
正在添加: com/seventh7/mybatis/dom/model/Completion.class(输入 = 1663) (输出 = 923)(压缩了 44%)
|