+

Search Tips   |   Advanced Search

Create databases with Ant tasks

If we did not create the databases manually, we can instead use Ant tasks to create DBs.

  1. Review the sample configuration files

  2. Copy the Ant file corresponding to your database. File name pattern:

      create-database-database.xml

  3. Edit the Ant file and replace the placeholder values for the properties at the top of the file.

  4. Create the databases.

      cd MF_HOME/shortcuts
      ant -f create-database-database.xml databases

If the databases are created, and we must create only the database tables...

  1. Review the sample configuration files

  2. Copy the Ant file corresponding to your database. The files for configuring an existing database are named after this pattern:

      configure-appServer-database.xml

  3. Edit the Ant file and replace the placeholder values for the properties at the top of the file.

  4. Create the databases.

      cd MF_HOME/shortcuts
      ant -f configure-appServer-database.xml databases


See also


Parent topic: Use Ant tasks to deploy the project WAR file