M
M
mr_locke2011-04-24 19:54:15
Java
mr_locke, 2011-04-24 19:54:15

Which build system for Java should I choose?

Previously, I did not use any, somehow there was enough eclipse and ideas :) The opinion of people who are more savvy in this matter is interesting. My research has shown that ant and maven are mainstream. Also, many articles appear about gradle.
I read the documentation, examples and quick start guide about the latter, I liked the idea, but I couldn’t figure it out right away. More precisely , I could not find in the examples the code necessary to create a build script for a simple project with
a couple of external libraries :)
sane language, as it is implemented, for example, in gradle.
I ask for advice on which tool to stop and understand more deeply? It is clear that ideally you need to know everything, but still work with one thing, especially since there are no special requirements for the assembly system.
Thanks in advance for the information and advice.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
javax, 2011-04-24
@javax

The idea of ​​maven, it seems to me, is very cool - a descriptive view of the assembly,
i.e. I have such and such a project, it depends on this and that - and now build it!
You need to get used to this approach, compared to the build as a sequence of actions, but if you do nothing out of the ordinary, then this approach saves a lot of time for you, and for those who later get acquainted with your build.
If there is a lot of non-standard, you can look at gradle - this is maven on groove instead of XML - i.e. for now, we use the descriptive style as a standard, and when necessary, we write pieces of the script in groove

A
asm0dey, 2011-04-25
@asm0dey

You can use ant+ivy. The bundle is very powerful - ant is almost omnipotent in terms of assembly and everything connected with it. And ivy handles dependencies. In the idea, respectively, click build ant script once, and then configure it to work with ivy.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question