除了ant之外,java最好的构建工具是什么?
不知何故,我不太喜欢 IDE,
但我还没有找到一个特别好的工具来从源代码构建 java 应用程序。
我欢迎各种反馈!
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!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
Maven 是另一种选择,但我不知道我是否会称其为“最佳”。
如果使用得当,Ant 的优点是简单。我发现 Maven 更重并且更难穿透。
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.
Ant 和 Maven 是常用的两种替代方案。被认为最好的方案因项目和开发人员的不同而有所不同。
您还有其他选择,例如 Gant 和 Gradle。我个人最喜欢的是 Gradle,因为它使用 Groovy 语法并提供 Maven 的好处,而无需强迫您做任何事情。
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.
除了ant之外,还有:
我使用 ant 和 maven; ant 的功能很好,而 Maven ……如果你能理解它的工作原理,那就没问题了。其他两个没有经验。
Besides ant, there's:
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.
如果您是一个受虐狂,您可以使用古老的 Make 来构建 Java。这是大多数人在 Ant 之前使用的。但蚂蚁更好。它更强大、更便携并且(根据我的经验)更快。
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.
Maven 绝对是 ant 更好的替代品(也是一个很好的继任者)。
Maven 比 ant 有优势,并且 Maven 的插件开发正在快速进行。
Maven 的优点(可以说相对于 ant)
最初的几个小时会很棘手,但一旦你习惯并看到优势,你就不会再回到 ant ;-)
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)
Initial couple of hours would be tricky, but once you get accustomed and see the advantages, you would not go back to ant ;-)