Click File, New. The New Gallery dialog is displayed.

9-8 Oracle Fusion Middleware Integration Guide for Oracle Enterprise Repository

10. In the Applications Navigator, select a file, and right-click and then select Submit

this File into OER or Submit this Project into OER.

11. In the Edit External Tool dialog, click the Process tab.

12. Click Change to change the JDK version to 1.6, and then click OK.

9.2 Configuring Eclipse

The Harvester integrates the Oracle SOA Suite artifacts to Oracle Enterprise Repository to support the visibility, impact analysis, and reusability use cases. This section describes the various steps involved in configuring Eclipse to support integration with Oracle Enterprise Repository: ■ Section 9.2.1, Enable Harvesting in Eclipse ■ Section 9.2.2, Configure the Oracle Enterprise Repository Plug-ins ■ Section 9.2.3, Configure the Oracle Enterprise Repository Preferences ■ Section 9.2.4, Enable Automatic Usage Detection

9.2.1 Enable Harvesting in Eclipse

This section describes how to harvest sample artifacts into Oracle Enterprise Repository using Eclipse: ■ Section 9.2.1.1, Setting up Eclipse Environment to use Harvester as an External Program ■ Section 9.2.1.2, Harvesting in Eclipse Environment using External Program ■ Section 9.2.1.3, Setting up Eclipse Environment to use Harvester via ANT ■ Section 9.2.1.4, Harvesting in Eclipse Environment using ANT

9.2.1.1 Setting up Eclipse Environment to use Harvester as an External Program

1. In Eclipse, click Run, External Tools. The External Tools dialog is displayed.

2. Right-click Program, and then select New.

3. Enter the following details in the External Tools dialog, as shown in Figure 9–10 . ■ In the Name field, type Submit this project to Oracle Enterprise Repository. Note: Oracle JDeveloper 10g does not support multi-select correctly for external tools. Even if you multi-select, only one file is harvested. Note: Oracle Enterprise Repository browsing is not supported from Oracle JDeveloper 10g. To make 10g assets as consumable: ■ Harvest assets from JDeveloper 10g. ■ Reharvest from SOA runtime for just WSDLs. Also, the assets that are harvested from JDeveloper 10g or 11g cannot be used for consumption.