Ant has more than 100 built-in types of tasks, such as invoking the Java compiler, creating a JAR file, and invoking the Javadoc tool. Ant tasks are the steps that must be followed to build a target.
jar/war/ear – Creates a JAR/WAR/EAR file.
I’ll explain Ant concepts and show how to set up an Ant build script for building an Oracle Application Development Framework (Oracle ADF) application without having Oracle JDeveloper installed on your machine. However, in this article, I am going to tackle the issue of running Ant outside of the Oracle JDeveloper IDE. Using Ant inside the Oracle JDeveloper IDE is simple and straightforward, because you have access to all of your project settings.
Most modern Java IDEs, including Oracle JDeveloper, support the development of Ant build files and running them from within the IDE Ant can also be run independently of any IDE, making it useful for the use cases described above. You may have heard of another popular build tool called Maven, which is different in that it enforces a common project structure as well as providing ways to compile and build applications. Tips for building Oracle Application Development Framework projects with Apache Ant outside of the Oracle JDeveloper environment.Īnt is a Java-based build tool that has become a de facto standard for building Java projects.