Building Projects With Ant

Date Added: Feb 2010
Format: HTML

Developers can build Oracle Application Development Framework projects using Apache Ant outside of the Oracle JDeveloper environment. With Oracle JDeveloper 11g, users can easily compile applications, generate deployment artifacts (such as Java Archives [JARs], Web Application Archives (WARs), and Enterprise Archives [EARs]), and deploy applications from within the IDE. The problem arises when developers wish to perform the above mentioned tasks outside of the Oracle JDeveloper IDE. This can be done by building tool such as Ant. A Java-based build tool, Ant has gained importance as a standard for building Java projects. Most of the modern Java IDEs are designed to support the development of Ant build files. What makes Ant special is the fact that it can also be run independently of any IDE to undertake a wide range of tasks mentioned above. This is an easy to use application that can be run inside the Oracle JDeveloper IDE in a simple and straightforward manner. This is made possible by the fact that by using Ant inside the Oracle JDeveloper IDE, users have access to all of their project settings. However, this paper shows how Ant can be run outside of the Oracle JDeveloper IDE. The paper explains various concepts and also shows how to set up an Ant build script for building an Oracle Application Development Framework (Oracle ADF) application.