Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/ant/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在Hybris中,ant deploy和ant all的区别是什么_Ant_Hybris - Fatal编程技术网

在Hybris中,ant deploy和ant all的区别是什么

在Hybris中,ant deploy和ant all的区别是什么,ant,hybris,Ant,Hybris,谁能告诉我ant deploy和ant all在hybris方面的区别吗。 据我所知,ant deploy将部署代码而不进行任何重新遵从。 据说它只需要改变配置。 我认为这没有任何意义,因为属性和.xml文件不需要任何ant-all。 那么ant deploy是否构建items.xml和beans文件?否,ant deploy不构建items.xml或beans.xml。 蚂蚁任务描述说 "Deploys platform to bundled server. Will copy files o

谁能告诉我ant deploy和ant all在hybris方面的区别吗。 据我所知,ant deploy将部署代码而不进行任何重新遵从。 据说它只需要改变配置。 我认为这没有任何意义,因为属性和.xml文件不需要任何ant-all。
那么ant deploy是否构建items.xml和beans文件?

否,ant deploy不构建items.xml或beans.xml。 蚂蚁任务描述说

"Deploys platform to bundled server. Will copy files of config/tomcat or config/tcServer to config folder of configured bundled server."
如果扩展有特定的部署需求,它允许您在扩展的buildcallbacks.xml中使用一些钩子

但在我将近五年的hybris经验中,我从未需要运行ant部署任务。 (事实上,在我读到这个问题之前,我甚至没有意识到这是一项任务)。 日常任务(通常也在实际部署中用于上线等)“ant all”就是正在使用的任务


希望有帮助

否,ant deploy不构建items.xml或beans.xml。 蚂蚁任务描述说

"Deploys platform to bundled server. Will copy files of config/tomcat or config/tcServer to config folder of configured bundled server."
如果扩展有特定的部署需求,它允许您在扩展的buildcallbacks.xml中使用一些钩子

但在我将近五年的hybris经验中,我从未需要运行ant部署任务。 (事实上,在我读到这个问题之前,我甚至没有意识到这是一项任务)。 日常任务(通常也在实际部署中用于上线等)“ant all”就是正在使用的任务


希望有帮助

我的经历与塞巴斯蒂安略有不同


Ant Deploy用于更快的部署,无需重新编译平台

我的经历与塞巴斯蒂安略有不同


Ant Deploy用于更快的部署,无需重新编译平台

使用
ant服务器时调用
ant部署
。此命令用于将在
/hybris/config
中为tomcat/tcserver完成的配置更新为
/hybris/bin/platform
。如果服务器已经启动,它将重新启动服务器


antall
执行
antbuild
antserver
ant build
负责编译java代码、hybris bean和条目。

使用
ant server
时调用
ant deploy
。此命令用于将在
/hybris/config
中为tomcat/tcserver完成的配置更新为
/hybris/bin/platform
。如果服务器已经启动,它将重新启动服务器


antall
执行
antbuild
antserver
ant build
负责java代码、hybris bean和项的编译。

那么您继续部署而不做任何更改?那么您继续部署而不做任何更改?