清理并单击一个Eclipse Java项目 [英] Clean and build an Eclipse java project with one click

查看:126
本文介绍了清理并单击一个Eclipse Java项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以一次点击在Eclipse中清理和构建一个java项目?我不想去Project - > clean - > OK,而不是项目菜单'Build project'

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'

推荐答案

如果你需要比清洁和部署更强大的东西,我建议学习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/

只需将其配置为您的项目并准备构建脚本,而不是为clean和build目标配置构建脚本。如果您需要,还可以将其部署在您的服务器上(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项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆