How to Use ant to Manage SOA Composite Applications

You can use ant scripts to compile, package, and deploy the application. You can create the initial ant build files by selecting New > Application > Ant > Buildfile from Project from the File main menu.

Figure 48-29 shows the build.properties and build.xml files that display in the Applications window after creation.

  • build.properties

    A file that you edit to reflect your environment (for example, specifying Oracle home and Java home directories, setting server properties such as hostname and port number to use for deployment, specifying the application to deploy, and so on).

  • build.xml

    Used by ant to compile, build, and deploy composite applications to the server specified in the build.properties file.

  1. Modify the build.properties file to reflect your environment.
  2. From the Build menu, select Run Ant on project_name.

    This builds targets defined in the current project's build file.