In the Binary Build area, check the resources you want exported with your

Oracle CEP IDE for Eclipse Projects 4-13 6. Configure the Oracle CEP Applications Export: Select Project dialog as shown in Table 4–6 .

7. Click Finish.

Your project, its Java resources, and any binary resources you selected are exported to the project JAR file.

8. Deploy the JAR file to your Oracle CEP server.

a. If your JAR is an application, see

Section 5.3.6, How to Deploy an Application to an Oracle CEP Server .

b. If your JAR is an application library, see

Section 24.1.3, Application Libraries

9. Deploy other dependent resources, if any, to your Oracle CEP server.

For example: ■ Other OSGi bundles your application depends on. Deploy these bundles on the Oracle CEP server using the Oracle CEP Visualizer or command line deployment tools. ■ Any entries in config.xml for datasources that are referenced from within the application. Add these entries to the target servers config.xml file.

4.6 Upgrading Projects

When upgrading Oracle CEP from one version to another, it may be necessary to make changes to your existing Oracle CEP projects. This section describes: ■ Section 4.6.1, How to Upgrade Projects from Oracle CEP 2.1 to 10.3 ■ Section 4.6.2, How to Upgrade Projects from Oracle CEP 10.3 to 11g Release 1 11.1.1 For more information, see: ■ Section 3.4, Configuring Eclipse ■ Oracle Complex Event Processing Getting Started Table 4–6 Oracle CEP Application Content Dialog Attribute Description Available Projects The list of Oracle CEP projects available for export. Check the project or projects you want to export. Each project will be exported to a JAR file with the name given in the Output File column. The name of the bundle that will be exported conforms to the OSGi bundle naming conventions, using the bundle ID and the bundle version in the JAR name. Directory The directory in which Oracle CEP project JAR files are exported. Click Browse to choose this directory. Overwrite existing files without warning Check this option to overwrite existing JAR files with the same name in the selected directory. 4-14 Oracle Complex Event Processing Developers Guide

4.6.1 How to Upgrade Projects from Oracle CEP 2.1 to 10.3

While project structure has stayed the same since 2.1, the data stored in Oracle CEP Projects has changed significantly. It is therefore necessary to take steps to upgrade 2.1 projects manually before continuing their development in 10.3. The following outlines the steps necessary to upgrade 2.1 projects to 10.3 To upgrade projects from Oracle CEP 2.1 to 10.3: 1. Open your Oracle CEP 2.1 project in Oracle CEP IDE for Eclipse.

2. Select File Switch Workspace Other.

The Workspace Launcher dialog appears as shown in Figure 4–13 . Figure 4–13 Workspace Launcher Dialog 3. Click Browse and select a new workspace directory. Eclipse exits and restarts using the new workspace.

4. Select File Import.

The Import Dialog appears as shown in Figure 4–14 . Note: Do not choose to copy settings from the current workspace. Oracle CEP IDE for Eclipse Projects 4-15 Figure 4–14 Import Dialog

5. Expand the General option and select Existing Projects into Workspace.

6. Click Next.

The Import Projects dialog appears as shown in Figure 4–15 .