个人认为antcall比depends更清楚些
<project name="Framework_Deploy" default="clean" basedir="."> <target name="build" description="make deploy files"> <antcall target="clean" /> <antcall target="compileJava" /> <antcall target="makeJar" /> <antcall target="beforeDeploy" /> <antcall target="copyFileToDeployCm" /> <antcall target="copyFileToDeployCmExport" /> <antcall target="afterDeploy" /> </target> </project>
本文介绍了一种使用AntCall进行项目构建和部署的方法,通过调用多个目标任务实现清晰有序的部署流程。
173

被折叠的 条评论
为什么被折叠?



