How to Export a Package How to Import a Package

4-40 Oracle Complex Event Processing Developers Guide To find a package in the list by name, type the name into the text field. In this example, select the javax.jws.soap package.

6. Click OK.

The selected package is added to the Exported Packages area as Figure 4–44 shows. Figure 4–44 Manifest Editor Runtime tab After Exporting a Package 7. Press CTRL-SHIFT-S to save all files.

4.7.5 How to Import a Package

Optionally, if your bundle needs to import a package from a JAR, then you can import this package. By doing so, you update the Package-Import MANIFEST entry to create an OSGi importer for the package. To import a package: 1. Inside the Oracle CEP IDE for Eclipse, expand the META-INF directory as Figure 4–45 shows. Oracle CEP IDE for Eclipse Projects 4-41 Figure 4–45 Oracle CEP IDE for Eclipse lib Directory

2. Right-click the MANIFEST.MF file and select Open With Plug-in Manifest

Editor . The Manifest Editor opens as Figure 4–46 shows. Figure 4–46 Manifest Editor: Dependencies tab

3. Click the Dependencies tab.

The Dependencies tab appears as Figure 4–46 shows.

4. In the Imported Packages area, click the Add button.

The Package Selection dialog appears as Figure 4–47 shows. 4-42 Oracle Complex Event Processing Developers Guide Figure 4–47 Package Selection Dialog 5. Select the package you want to import. To find a package in the list by name, type the name into the text field. In this example, select the javax.jws.soap package.

6. Click OK.

The selected package is added to the Import Packages area as Figure 4–48 shows. Figure 4–48 Manifest Editor Dependencies tab After Importing a Package 7. Press CTRL-SHIFT-S to save all files. Oracle CEP IDE for Eclipse Projects 4-43

4.8 Configuring Oracle CEP IDE for Eclipse Preferences

You can configure various preferences to customize Oracle CEP IDE for Eclipse to suit your needs, including: ■ Section 4.8.1, How to Configure Application Library Path Preferences ■ Section 4.8.2, How to Configure Problem Severity Preferences

4.8.1 How to Configure Application Library Path Preferences

You can define the path to an Oracle CEP server domain directory that contains application libraries that extend the Oracle CEP runtime. For more information, see Section 24.3.1, How to Define the Application Library Directory Using Oracle CEP IDE for Eclipse .

4.8.2 How to Configure Problem Severity Preferences

You can assign a severity to the various problems that Oracle CEP IDE for Eclipse can detect in your Oracle CEP project and application. You can configure these preferences for each project individually or you can configure these preferences the same for all the projects in a given workspace. To configure problem severity preferences: 1. Open the EPN Editor see Section 6.1, Opening the EPN Editor

2. Select Window Preferences.

The Preferences dialog appears as shown in Figure 4–49 . 4-44 Oracle Complex Event Processing Developers Guide Figure 4–49 Properties Dialog

3. Select Oracle CEP Problem Severities.

4. Choose the configuration scope:

■ To configure problem severities for all the projects in a workspace, click Configure Workspace Settings . The Oracle CEP Problem Severities dialog appears as Figure 4–50 shows. Oracle CEP IDE for Eclipse Projects 4-45 Figure 4–50 Oracle CEP Problem Severities Dialog: Workspace ■ To configure problem severities for the current project only, click Enable project specific settings . The Oracle CEP Problem Severities dialog appears as shown in Figure 4–51 .