OSB: Using current Eclipse version for development

Oracle provides some packages to install an development environment with Eclipse. Unfortunately these packages contains only the over three year old 3.7 (Indigo) release of Eclipse. Even more worse: With SOA-Suite 12c comes the current version of OSB and the development environment is migrated to the JDeveloper. There will be no update for the Eclipse based development in future.

But what if you want to use your current Eclipse version to have look inside of the developed OSB projects? Or if you need an update version of Eclipse because of current versions of plugins like SVN?

The installation of the OSB development environment is quite complicated and “mythic”. It is described for example here.

But after some analysis the connections can be found. In fact you need an Eclipse installation with OEPE and then some additional plugins are linked to the Eclipse installation.

We take the Eclipse 4.4 (Luna) OEPE as basis, but you can also use an existing eclipse installation and install the OEPE update.

Next we need the eclipse140 folder from an OSB installation. It can be found in the Oracle_OSB1 folder.

In the dropins folder of the Eclipse installation we create a text file named oracle.osb.ide.link with this content:

1 path=C:/prog/java/OSBEclipsePlugins 2

The path must be the path of the eclipse140 folder containing plugins and features folder. I have renamed it to OSBEclipsePlugins.

Additionally we have to set properties of some paths for the eclipse installation. They are appended to the eclipse.ini file:

1 -Dweblogic.home=D:/prog/java/oracle/mw_osb_11.1.1.6/wlserver_10.3 2 -Dharvester.home=D:/prog/java/oracle/mw_osb_11.1.1.6/Oracle_OSB1/harvester 3 -Dosb.home=D:/prog/java/oracle/mw_osb_11.1.1.6/Oracle_OSB1 4 -Dosgi.bundlefile.limit=750 5 -Dosgi.nl=en_US 6 -Dorg.eclipse.swt.internal.gtk.disablePrinting 7 -Dmiddleware.home=D:/prog/java/oracle/mw_osb_11.1.1.6 8

For a Eclipse 3.7 (Indigo) OEPE installation this is all to do but as we use Eclipse 4.4 OEPE there are some more steps necessary.

First we need to install the Oracle xmlbeans plugin. The file oracle.eclipse.tools.xmlbeans_4.2.0.201112072225.jar needs to be copied to the plugins directory. I have attached a slightly modified file from the old OEPE  installation. The modification is just the removement of the hardcoded version numbers for the references in the MANIFEST.MF.

In the file plugins/com.bea.alsb.feature.branding_1.4.0/META-INF/MANIFEST.MF we remove the references to org.eclipse.update.core and org.eclipse.update.ui.

If we now start Eclipse our OSB tooling is working with the new Eclipse version.

Only when trying to edit a workflow of the proxy server we don’t get the correct view. I have hunted the error down and created a patched version of the messageflow-ui.jar. This is copied to the plugins/com.bea.alsb.process.messageflow.ui_1.4.0 folder and replaces the old version.

And this is how it finally looks like:



Bernhard Mähr @ OPITZ-CONSULTING published at http://thecattlecrew.wordpress.com/


Kommentar verfassen

Trage deine Daten unten ein oder klicke ein Icon um dich einzuloggen:


Du kommentierst mit Deinem WordPress.com-Konto. Abmelden / Ändern )


Du kommentierst mit Deinem Twitter-Konto. Abmelden / Ändern )


Du kommentierst mit Deinem Facebook-Konto. Abmelden / Ändern )

Google+ Foto

Du kommentierst mit Deinem Google+-Konto. Abmelden / Ändern )

Verbinde mit %s