Clean and build an Eclipse java project with one click(一键清理构建Eclipse java项目)
问题描述
是否可以在 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项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:一键清理构建Eclipse java项目


基础教程推荐
- 如何使用 Java 创建 X509 证书? 2022-01-01
- Java Keytool 导入证书后出错,"keytool error: java.io.FileNotFoundException &拒绝访问" 2022-01-01
- 减少 JVM 暂停时间 >1 秒使用 UseConcMarkSweepGC 2022-01-01
- “未找到匹配项"使用 matcher 的 group 方法时 2022-01-01
- 在 Libgdx 中处理屏幕的正确方法 2022-01-01
- FirebaseListAdapter 不推送聊天应用程序的单个项目 - Firebase-Ui 3.1 2022-01-01
- Java:带有char数组的println给出乱码 2022-01-01
- 设置 bean 时出现 Nullpointerexception 2022-01-01
- 无法使用修饰符“public final"访问 java.util.Ha 2022-01-01
- 降序排序:Java Map 2022-01-01