What's the best building tool for java besides ant?

时间秒杀一切 提交于 2019-12-24 02:17:27

问题


Somehow I don't like IDE very much,

but I don't find a particular good tool to build java applications from source yet.

I welcome all kinds of feedbacks!


回答1:


Maven is another alternative, but I don't know that I'd call it "best".

Ant has the virtue of simplicity if used properly. I find Maven to be heavier and less penetrable.




回答2:


Ant and Maven are to two alternatives that are usually used. What is considered best will differ from project to project and also often developer to developer also.

You several have other option like Gant and Gradle. My personl favorite is Gradle, since it uses Groovy syntax and offers the benefits of Maven without forcing you to do anything.




回答3:


Besides ant, there's:

  • Maven
  • Gradle
  • Buildr

I use ant and maven; ant is fine for what it does, and maven… it's OK if you can manage to swallow how it works. No experience with the other two.




回答4:


If you are a masochist, you can use good old Make to build Java. Its what most folks used before Ant. But Ant is better. It is more powerful, more portable and (in my experience) quicker.




回答5:


Definite better alternative to ant (and a good successor) is Maven.

Maven has advantages over ant, and the plugin development for Maven is going on at a rapid pace.

Advantages of Maven (over ant you can say)

  1. Dependencies are downloaded automatically
  2. Standardized, very consistent layout
  3. Standardized, very consistent naming
  4. Code coverage
  5. Extensive reports
  6. maven easily works with JUnit tests

Initial couple of hours would be tricky, but once you get accustomed and see the advantages, you would not go back to ant ;-)



来源:https://stackoverflow.com/questions/2772966/whats-the-best-building-tool-for-java-besides-ant

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!