Hi, We are running the below script to get rid of aging .kdb files. H

Hi,

We are running the below script to get rid of aging .kdb files. Howeever we are getting error output as mentioned below. Can anyone pls let me know what is going wrong?

C:\\appian\\server\\_scripts>cleanup data -delete -keep 10
Buildfile: aemovefiles.xml

BUILD FAILED
C:\\appian\\server\\_scripts\\ant\\aemovefiles.xml:46: Target doesn't exist!

Total time: 0 seconds

This is causing appian folder grow huge and these files are just getting accumulated....

OriginalPostID-84569

OriginalPostID-84569

  Discussion posts and replies are publicly visible

Parents
  • Hi Liya, are you using the PS Build? In your <APPIAN_HOME>\\ directory do you have a runtime_ear directory?

    What are the results of the following commands:
    -> $ java –version
    -> $ echo $JAVA_HOME
    -> $ echo $ANT_HOME

    It seems like the ANT_HOME is being set incorrectly. The Build fails when it tries to look for the following class:
    com.appian.ant.datamaintenance.Purge

    This should be present in <APPIAN_HOME>\          hirdpartyapps\\apache-ant\\classes\\com\\appian\\ant\\datamaintenance
Reply
  • Hi Liya, are you using the PS Build? In your <APPIAN_HOME>\\ directory do you have a runtime_ear directory?

    What are the results of the following commands:
    -> $ java –version
    -> $ echo $JAVA_HOME
    -> $ echo $ANT_HOME

    It seems like the ANT_HOME is being set incorrectly. The Build fails when it tries to look for the following class:
    com.appian.ant.datamaintenance.Purge

    This should be present in <APPIAN_HOME>\          hirdpartyapps\\apache-ant\\classes\\com\\appian\\ant\\datamaintenance
Children
No Data