怎样让eclipse自动部署工程

[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)