Adding query files to projects
To add a query file to a project:
1. In Project Explorer, right-click the project you want to add a query to and select New > Query File.
2. In the New Apama Query File dialog, the Containing folder field shows the name of the project you selected. Accept this or enter the name of the project you want to add the query to.
3. In the File name field, enter a name for the query file.
4. In the Query name field, when you enter the file name in the File name field, the same file name appears as a query name in the Query name field. You can either accept or edit the query name.
5. In the Package field, you can optionally specify the EPL package that contains this query. If you do not specify a package then the query file is in the default package which contains EPL files that do not specify a package name.
6. Click Finish.
The new query file is added to the project's queries folder and the new query is opened in the Design tab of the Query Designer. Also, the Queries Support bundle is automatically added to your project, if your project does already contain this bundle. A query application project must contain the Queries Support bundle.
After you add a query file to a project, you can view it along with the other EPL objects in your project. See
Viewing all EPL objects in all projects.