问题
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)
- Dependencies are downloaded automatically
- Standardized, very consistent layout
- Standardized, very consistent naming
- Code coverage
- Extensive reports
- 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