Apama Predictive Analytics Plug-in 10.11 | Apama Predictive Analytics Plug-in | Working with Sample Project | Running the sample project using ant configuration
 
Running the sample project using ant configuration
You can use the ant configuration to run the sample project in Apama command prompt on Windows and UNIX platforms. Before you can run any of the Apama tools, you must set up the environment correctly. See "Setting up the environment using the Apama Command Prompt" in Deploying and Managing Apama Applications.
*To run the sample project using ant configuration
1. Change to APAMA_HOME/samples/PredictiveAnalytics/EnergyData directory.
2. Start the sample project by using the command ant start.
This command performs the following tasks:
*Starts the correlator with Java support.
*Injects the plug-in jar file and its associated predictive_analytics_plugin_monitors.cdp package to the correlator.
*Injects the EnergyData sample monitor to the correlator available at APAMA_HOME/samples/PredictiveAnalytics/EnergyData/monitors/EnergyDataSample.mon
*Initializes the plug-in to load the PMML file from APAMA_HOME/samples/PredictiveAnalytics/EnergyData/model/EnergyDataModel.pmml
*Sends sample prediction data.
3. Stop the sample project by using the command ant stop.