External File Restrictions

An unmanaged file is one that is not part of a StreamBase project. EventFlow aplication files that you create with the StreamBase New EventFlow wizard belong to a project. By contrast, if you open an sbapp file from your file system using FileOpen File, that file is unmanaged.

You can perform normal Eclipse actions and some StreamBase actions on unmanaged files. You can open an unmanaged sbapp or ssql application file in a Studio editor and perform various editing tasks (assuming the file permissions allow you to). However, there are certain things you cannot do with unmanaged application files:

  • You cannot use modules.

  • You cannot use embedded Java code, such as custom Java functions or Java operators.

  • You cannot use launchers to run unmanaged applications in StreamBase Studio.

  • Only a StreamBase Project can contain a server configuration file that affects the application typecheck environment.

  • If you open an external file that already contains a Module Reference or Java Operator, you can open and view the component's properties, but you cannot edit the properties or run the application.

  • If you select a set of components in an external application and right-click the selection, Extract As Module is not available in the menu.

To avoid these restrictions, you can either:

  1. Import the external file into a StreamBase Studio project.

  2. Add the file's location to a Studio project's resource list, as described in Managing Studio Resource Files.