KB Article #177898

Create a custom command to import Interplay configuration in Repository

Problem

How to import interplay configuration using a custom command on Repository and update Interplay component.

Resolution

1) Create customer command

  • Edit configRepository.properties file (..\AISuite\Repository\configuration)
  • Add the following lines :

#Custom command to setup Interplay
DefaultDirectory=Path_To_Your_DeploymentPackage
CMD.setupDefault=openApplication default, importServerConfiguration ${DefaultDirectory}, importUIConfiguration ${DefaultDirectory}, importDictionaries ${DefaultDirectory}, importLibraries ${DefaultDirectory}, importDataSources ${DefaultDirectory}, importReportTemplates ${DefaultDirectory}


2) Execute the custom command

  • Open repository console: startConsole (.sh or .bat)
  • Run the command: setupDefault


3) Update Interplay component

  • Go in ../InterPlay/extra/Tools
  • Execute the command: ant updateServerConfiguration