开发者

Can eclipse be used to fully replace ant?

I don't want to build the files manually with command line,

is it possible for eclipse to do the equivalent for tomcat automat开发者_开发百科ically?


eclipse by default does compile your project automatically. Do you mean to have eclipse deploying to tomcat automatically?

If that is what you would like to do, Eclipse WebTools has support for deploying to servlet container. One example of how to do that is http://www.ibm.com/developerworks/opensource/library/os-eclipse-tomcat/index.html


If you have a build.xml file in your project root, you can right click on it in eclipse, select Run As -> Ant Build...

From there you can configure how it should run the script just as if you were using ant.


Question title

Can eclipse be used to fully replace ant?

Short answer: Do not compare apples with oranges.

Eclipse IDE (Building is one of its feature). Wiki

Ant Build tool. Wiki

Tomcat Webserver. Wiki

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜