The recommended approach for script-based deployment of Apama is to use an Ant script, making use of the Ant macro definitions provided in the apama-macros.xml file. You can find this file in the etc directory of your Apama installation. See the comments in that file for more detailed information about the available macros.
Software AG Designer has an Ant export wizard that can generate a simple Ant script for deploying your Apama project. See
Exporting to a deployment script for more information.
Instead of using Ant to inject the EPL, you can also do this using a YAML configuration file (see
Deploying Apama applications with a YAML configuration file). If a YAML configuration file is used for this purpose, then Ant should not inject the EPL.