比较到IDE for Java中,我们还需要蚂蚁? [英] Compare to the IDE for Java,do we still need Ant?

查看:165
本文介绍了比较到IDE for Java中,我们还需要蚂蚁?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

没多久,我就挖成蚂蚁,并用它做一些简单的练习(编译,单元测试,封装)。现在我平时的工作是在Eclipse的Java开发,平时的工作都可以做简单通过Eclipse的功能:及时编制,点击按钮部署,各种向导。

Not long before I had digged into Ant and use it doing simple practice(compile,unit test,package).Now my usual work is under Eclipse for java development,the usual work can all be simply done through Eclipse' function:in-time compiling、click button to deploy、various wizard..

所以我的Eclipse下想我们有必要为Ant。
如果是,在这方面我们应该使用Ant与Eclipse一起。

So I am wondering under Eclipse do we have a need for Ant. And if it is, at which aspect should we use Ant along with Eclipse.

推荐答案

构建应用程序是不是只是建立在他们的IDE。你需要设置一个自动构建和部署,可以,比如说,持续集成和部署运行方式。内置包必须被deloyed于各种环境和最终的生产。你可以不建立他们出自己的箱子。你不能建立它从你的IDE。您需要单独的构建系统。这就是建立一个像ANT工具进来了。

Building applications is not about just building them in your IDE. You need to setup an automated build and deploy method that can be run for, say, continuous integration and deployment. The built package has to be deloyed to various environments and finally production. You cannot build them out of your own box. You cannot build it out of your IDE. You need separate build system. That is where build tools like ANT come in.

另外请注意,IDE的做构建,部署的能力是有限的,这是不是自己的实力。然而,有可能使使用Ant及其构建脚本和<一的href=\"http://help.eclipse.org/indigo/index.jsp?topic=/org.eclipse.platform.doc.user/gettingStarted/qs-81_basics.htm\">run他们走出月食的。这样一来,你有一组为您的本地(开发商)构建和主要构建过程脚本。蚂蚁正在基于JAVA的,你也可以通过编写自定义任务等满足您的构建工具您的需求。

Also note that the capabilities of IDEs for doing build, deploy is limited and that is not their strength. It is, however, possible to make use of ANT and its build scripts and run them out of eclipse. This way, you have a single set of scripts for both your local ( developer ) build and the main build process. With ANT being JAVA based, you can also suit your build tool to your needs by writing custom tasks etc.

此外,当您使用什么标准作为ANT的构建系统,你可以移动到不同的IDE像IntelliJ IDEA的,仍然使用您知道构建系统。

Also, when you make use of something as standard as ANT for your build system, you can move to a different IDE like Intellij IDEA and still make use of the build system that you know.

这篇关于比较到IDE for Java中,我们还需要蚂蚁?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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