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.monInitializes the plug-in to load the PMML file from
APAMA_HOME/samples/PredictiveAnalytics/EnergyData/model/EnergyDataModel.pmmlSends sample prediction data.
3. Stop the sample project by using the command ant stop.