Apache Ant is a tool for automating build processes The main known usage of Ant is the build of Java applications. Ant supplies a number of built-in tasks allowing to compile, assemble, test and run Java applications.
Questions tagged [ant]
9 questions
24
votes
9 answers
Convince a lone developer to use a separate build tool instead of the IDE one-click build
In my years of programming Java and more recently Scala, I've never used Ant, Maven, Gradle or any of those build tools for Java. Everywhere I've worked there was a build manager who took care of all of that -- I'd compile locally with the IDE for…

Gigatron
- 361
- 3
- 7
14
votes
5 answers
Is Ant still in the "mainstream" for Java builds?
We have been slowly replacing batch command files (windows .bat) which were simply jarring up the classes compiled in the developers IDE, with more comprehensive Ant builds (i.e. get from CVS, clean compile, jar, archive, email, etc.)
I've spent a…

Sam Goldberg
- 1,004
- 8
- 19
6
votes
2 answers
Hibernate set up for beginner
I am learning Hibernate (OR Mapping). I am using Maven for project management. However, I am currently reading a Hibernate book by O'Reilly, and they use ANT for their example. So my question is are there any difference between setting up hibernate…

James116
- 163
- 3
5
votes
5 answers
Scripts to run Java programs - e.g. Ant
My team currently use an Ant script to execute various Java programs.
Note that I am not asking about managing the build/deployment cycle for which we are already using Maven (quite happily).
For example, we use something like the following:

amaidment
- 428
- 3
- 12
5
votes
2 answers
Default Ant target: help or jar?
What would you choose as the default Ant target?
In the context of a small visual tool with a user interface, open source.
I was thinking about jar because the project's distributable is the jar file.
But someone prefers to have help as the default…

Nicolas Raoul
- 1,062
- 1
- 11
- 20
3
votes
2 answers
Unit test and Code Coverage of Ant build scripts
In our development environment We have more and more build scripts for ant to perform the build tasks for several different build jobs.
These build scripts sometimes become large and do a lot of things and basically is source code in and of…

pablaasmo
- 141
- 5
2
votes
2 answers
What are the best tools to help work with large ant files
I just started working at a company that has a very large ant build file that imports lots of other large/small ant files. Needless to say it's giving me a headache trying to figure out what is going on.
What are the best tools out there for:…

kfox
- 131
- 4
1
vote
3 answers
Getting started with build tools
I am on my final year on CS, working on my first significant project, so I thought its about time to learn and use build tools.
I have read about Maven mainly and heard about Ant. I would like to know your opinion about which I should learn to use…

latusaki
- 437
- 1
- 4
- 12
0
votes
0 answers
Is it a good practice to build multiple web app war files from one source repo?
I have been asked to do the following:
Take a project within a repo (repo has multiple projects inside)
Build ant build script that will build two separate tomcat webapp war files. They are two web apps.
The two war files have to be different web…

InformedA
- 2,991
- 2
- 19
- 28