Skip to main content
lakshmanaraok0002
September 9, 2021
Question

Ant Script issue

  • September 9, 2021
  • 1 reply
  • 0 views

Hello Guys, Can anyone help us on the below issue ASAP.

We have created the backup script based on the Appian documentation. Below is the script

  1. #!/bin/bash
         source ../../../../server/_scripts/exports.sh
         INSTALLDIR=$AE_HOME/_admin/_scripts/tools/datamaintenance/antScripts
         ant -f $INSTALLDIR/aecopyfiles.xml -Dae.source.location=$AE_HOME -Dae.dest.location="/data/aebackups" -


    Created backup script in ‘/apps/appian/_admin/_scripts/tools/datamaintenance’ -> ‘appianbackup.sh’

     

     

    But, while running the backup script getting below error : “appianbackup.sh: line 6: ant: command not found”

    Please suggest what we need to do on this issue.

    1 reply

    stefanhelzle0001
    Brainy
    September 9, 2021

    Do you have "ant" installed?

    Documentation says:

    These scripts utilize Apache Ant as the building technology for the scripts.