why use ant ?

Hello,

I’m wondering why is Ant important to learn and use because now many IDEs have their own build systems.

Thanks!

ionpetrache wrote:

>
> Hello,
>
> I’m wondering why is Ant important to learn and use because now many
> IDEs have their own build systems.

If you’re going to be using Eclipse and Java, learning Ant seems a
pretty sound idea. I don’t know of other IDEs with their own build
system, I think they’re generally based on ‘make’.


Per Jessen, Zürich (15.6°C)
http://en.opensuse.org/User:pjessen

Since Eclipse does your job automatically why you should learn ant?

Ant is at the heart of many project build scripts. You may find that Eclipse may actually be using Ant for some projects without your knowledge because the project developers have supplied you with an Eclipse project package that includes it. If Eclipse fills your needs by all means stick with it. However if you want to do anything complicated or you want to do non-interactive builds, then Ant is the right tool.

Note that I wrote build, but Ant is suitable for doing a range of tasks. It’s to the Java world what make is to the Unix/Linux world.

So basically for complex jobs Ant is the right tool. Thanks!

ionpetrache wrote:

>
> So basically for complex jobs Ant is the right tool. Thanks!
>

I don’t know how you managed to conclude that from this thread - make is
pretty good for building the Linux kernel, and I would rate that as
fairly complex :slight_smile:


Per Jessen, Zürich (17.2°C)
http://en.opensuse.org/User:pjessen

I was thinking about complex jobs written in Java. Maybe make is good for complex jobs too but for C language. Am I write?

ionpetrache wrote:

>
> I was thinking about complex jobs written in Java. Maybe make is good
> for complex jobs too but for C language. Am I write?
>

No, not exactly. Ant is good for java because that’s where it
originated, but I’m sure it does all kinds of complex jobs too. Make is
good for anything, complex or not.

Given the proliferation of make, I would say it is more important to
understand make than ant, but if you’re going to focus exclusively on
java, ant might be sufficient.


Per Jessen, Zürich (19.2°C)
http://en.opensuse.org/User:pjessen