[scenario]
as we know Eclipse default don't have such auto-deploy functions. So if we have
change the code or lib in src environment, we must copy them into deploy environment,
can we simplify it? Can we only refresh Eclipse and then
[Answer]
Off course we can! Just modify the .classpath file like this:
<classpathentry kind="src" output="target/rap" path="src/main/webapp"/>
it means copy src/main/webapp folder into target/rap, this will make auto-deploy!
本文介绍了一种在Eclipse中实现自动部署的方法,通过修改项目的.classpath文件来达到当源代码发生变化时,自动将更新的内容复制到部署环境中,从而简化了开发流程。
5457

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



