Using the Apama Studio Development Environment > Using Query Designer > Adding query files to projects
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 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.
5. Click Finish.
Apama Studio adds the new query file to the project's queries folder and opens the new query in the Design tab of the Query Designer. Also, Apama Studio automatically adds the Queries Support bundle 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.
Copyright © 2013-2015 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.