产业气象站|Hybris Commerce的安装脚本内容解析,SAP


产业气象站|Hybris Commerce的安装脚本内容解析,SAP
文章图片
(1)Setup=Invokedbydefaultifnotaskisspecifiedwithinstallcommand.Itinstallsrecipe&ampcopiesfiles.
(2)Initialize=Initializestherecipesapplication.
(3)Start=Starttheapplication.
https://www.novusedu.com/wp-content/uploads/2017/12/4-Hybris-Install.pdf
在recipe文件夹里看到的build.gradle内容里包含的setup任务:
产业气象站|Hybris Commerce的安装脚本内容解析,SAP
文章图片
使用的两个plugin:
*installer-platform-plugin
*installer-addon-plugin
https://stackoverflow.com/questions/32352816/what-the-difference-in-applying-gradle-plugin#:~:text=The%20plugins%20block%20is%20the%20newer%20method%20of,method%20of%20adding%20a%20plugin%20to%20your%20build.
两种声明plugin使用的方式:
产业气象站|Hybris Commerce的安装脚本内容解析,SAP
文章图片
```groovy
applyplugin:"someplugin1"applyplugin:"maven"
【产业气象站|Hybris Commerce的安装脚本内容解析,SAP】andotherone:
plugins{id"org.hidetake.ssh"version"1.1.2


    推荐阅读