问题描述
是否可以在 Eclipse 中一键清理和构建 java 项目?我不想去项目 -> 清理 -> 确定,而不是项目菜单构建项目"
Is it possible to clean and build a java project in Eclipse with one click? I don't want to go to Project -> clean -> OK and than to project menu 'Build project'
推荐答案
如果你需要比 clean 和 deploy 更强大的东西,我建议学习 Ant 构建工具.http://ant.apache.org/
If you need something more powerful than clean and deploy, I suggest to learn Ant build tool. http://ant.apache.org/
只需为您的项目配置它并准备构建脚本,而不是为清理和构建目标配置构建脚本.如果您需要,也可以将其部署在您的服务器上(glassfish、weblogic 或任何您想要的).使用 Ant,您可以配置更多情况(测试、生产..)
Just configure it for your project and prepare the build script, than configure the build script for the clean and build target. If you need, also to deploy it on your server (glassfish, weblogic or whatever you want). With Ant you can configure more situation (test, production..)
这篇关于一键清理构建Eclipse java项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!