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项目
基础教程推荐
- 验证是否调用了所有 getter 方法 2022-01-01
- 在 Java 中创建日期的正确方法是什么? 2022-01-01
- 不推荐使用 Api 注释的描述 2022-01-01
- Java 实例变量在两个语句中声明和初始化 2022-01-01
- 多个组件的复杂布局 2022-01-01
- 如何在 JFrame 中覆盖 windowsClosing 事件 2022-01-01
- Java Swing计时器未清除 2022-01-01
- 从 python 访问 JVM 2022-01-01
- 大摇大摆的枚举 2022-01-01
- 如何在 Spring @Value 注解中正确指定默认值? 2022-01-01
