Developing Apama Applications > Using Apama Studio > Working with Projects > Adding resources to Apama projects > Creating new monitor files for EPL applications
Creating new monitor files for EPL applications
EPL files define monitors and/or event types.
To add a new EPL file to an Apama project:
1. If you are in the Apama Workbench perspective, click the Show All Folders icon if necessary to display the enhanced view that shows all the project’s resources.
2. In the Project Explorer view or the Workbench Project view, right click the monitors folder of the project where you want to add the EPL file and select New > MonitorScript File . In the Workbench Project view you can also select the monitors folder and click the New MonitorScript File button
3. In the New MonitorScript File wizard, enter information in the following fields:
a. The Containing Folder field is the folder where the file will be saved; by default this is the folder of the currently selected project, but you can select another folder using the Browse button.
b. In the File name field, specify the name of the new file. Specifying the .mon extension is optional as Apama Studio will add the .mon file extension. Apama Studio will not let you specify anything except .mon as a file extension.
c. The Package field is optional; information in this field is an EPL package name.
4. Click Finish. The name of the new file now appears in the Project Explorer viewor the Workbench Project view under the project that contains it and the EPL file opens in the EPL editor.
5. In the EPL editor, add the desired EPL code and save the file.
For more information about EPL, see Getting Started with Apama EPL in Developing Apama Applications in EPL. For more information on the editing features available when writing EPL code, see Editing Apama files.
Copyright © 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.