I just started working with Java and I have realized I don’t know much about how the build system works. In this article I’m going to explore Java’s build system.
Ant is analogous to
Gulp. It’s main goal is to automate the process of running tasks. More specifically, it is often used to compile code, run tests, etc.
Ant is a Java application, so a Java Runtime Environment is necessary. The installation will vary depending on your environment, so you might want to check the official documentation. If you use ubuntu, you can use
1 sudo apt-get install ant
To verify the installation was successful:
1 ant -version