Friday, December 4, 2009

Apache ant and ADF Sample project.

Apache ant is an tool that allows for automation of software build processes. It is similar to make, but it is implemented using Java. Ant usese XML to describe the build process.
Its an acronym for "Another Neat Tool". Its an apache project released under the Apache Software License. Its an open source software.
reference: wikipedia (http://en.wikipedia.org/wiki/Apache_Ant)

The jdeveloper sample application uses Ant to create the database schema for the sample applications schema objects.

I had to modify this Ant project so that it was able to create a schema in the tablespace and temp tablespace of users choice. Though this (tablespace) information was being captured in the properties file, the actual scripts were not using it, and were rather writing to the USER tablespace.

Here are the modifications that I made to make it run.

Added parameters 3 and 4 so that the tablespace name and the temp tablespace name could be passed in to the sql script.

image

image

image

No comments:

Post a Comment