Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "EclipseLink/Development/DBWS/OSGi/Environment"
(New page: <css> .source-java5 {padding:1em;border:1px solid black; background-color: white;} .source-xml {padding:1em;border:1px solid black; background-color: white;} .source-text {padding:1e...) |
(→Environment Setup) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
</css> | </css> | ||
__NOTOC__ | __NOTOC__ | ||
− | |||
=== Environment Setup === | === Environment Setup === | ||
− | |||
Download a [http://www.eclipse.org/downloads/packages version of the Eclipse IDE that includes the ''Plug-in Development Environment'' (PDE)] (''Eclipse IDE for Java EE Developers'', ''Eclipse Classic 3.6.0'' or <br> ''Eclipse for RCP and RAP Developers''). We will need an OSGi-friendly JDBC driver - for this example, we will use the Apache Derby bundle: | Download a [http://www.eclipse.org/downloads/packages version of the Eclipse IDE that includes the ''Plug-in Development Environment'' (PDE)] (''Eclipse IDE for Java EE Developers'', ''Eclipse Classic 3.6.0'' or <br> ''Eclipse for RCP and RAP Developers''). We will need an OSGi-friendly JDBC driver - for this example, we will use the Apache Derby bundle: | ||
Line 21: | Line 19: | ||
<font color="red"><i>{Note - once the Eclipse P2 Repository has the correct version of EclipseLink that supports running DBWS with OSGi, <br> | <font color="red"><i>{Note - once the Eclipse P2 Repository has the correct version of EclipseLink that supports running DBWS with OSGi, <br> | ||
the following steps will no longer be required and the EclipseLink target Component can be used}''</i></font> <br> | the following steps will no longer be required and the EclipseLink target Component can be used}''</i></font> <br> | ||
− | EclipseLink builds after <tt>2.1.2. | + | EclipseLink builds after <tt>2.1.2.v20100928-r8243</tt> have EclipseLink DBWS available as a [http://www.eclipse.org/downloads/download.php?file=/rt/eclipselink/milestones/2.1.2/M1/eclipselink-plugins-2.1.2.v20100928-r8243.zip bundle] <br> |
Extract the following 6 bundles to some directory: | Extract the following 6 bundles to some directory: | ||
<source lang="text"> | <source lang="text"> | ||
$ ls additionalBundles/ | $ ls additionalBundles/ | ||
− | org.eclipse.persistence.asm.source_2.1.2. | + | org.eclipse.persistence.asm.source_2.1.2.v20100928-r8243.jar |
− | org.eclipse.persistence.asm_2.1.2. | + | org.eclipse.persistence.asm_2.1.2.v20100928-r8243.jar |
− | org.eclipse.persistence.core.source_2.1.2. | + | org.eclipse.persistence.core.source_2.1.2.v20100928-r8243.jar |
− | org.eclipse.persistence.core_2.1.2. | + | org.eclipse.persistence.core_2.1.2.v20100928-r8243.jar |
− | org.eclipse.persistence.dbws.source_2.1.2. | + | org.eclipse.persistence.dbws.source_2.1.2.v20100928-r8243.jar |
− | org.eclipse.persistence.dbws_2.1.2. | + | org.eclipse.persistence.dbws_2.1.2.v20100928-r8243.jar |
</source> | </source> | ||
Edit the Target Platform, adding the directory with the additional bundles:<br/> | Edit the Target Platform, adding the directory with the additional bundles:<br/> |
Latest revision as of 15:19, 7 October 2010
Environment Setup
Download a version of the Eclipse IDE that includes the Plug-in Development Environment (PDE) (Eclipse IDE for Java EE Developers, Eclipse Classic 3.6.0 or
Eclipse for RCP and RAP Developers). We will need an OSGi-friendly JDBC driver - for this example, we will use the Apache Derby bundle:
- Download Apache Derby (org.apache.derby) bundle from Orbit.
- Place the org.apache.derby bundle into your $ECLIPSE_HOME/dropins folder.
Under 'Preferences' -> 'Plug-in Development' -> 'Target Platform', edit the Running Platform (Active)
{Note - once the Eclipse P2 Repository has the correct version of EclipseLink that supports running DBWS with OSGi,
the following steps will no longer be required and the EclipseLink target Component can be used}
EclipseLink builds after 2.1.2.v20100928-r8243 have EclipseLink DBWS available as a bundle
Extract the following 6 bundles to some directory:
$ ls additionalBundles/ org.eclipse.persistence.asm.source_2.1.2.v20100928-r8243.jar org.eclipse.persistence.asm_2.1.2.v20100928-r8243.jar org.eclipse.persistence.core.source_2.1.2.v20100928-r8243.jar org.eclipse.persistence.core_2.1.2.v20100928-r8243.jar org.eclipse.persistence.dbws.source_2.1.2.v20100928-r8243.jar org.eclipse.persistence.dbws_2.1.2.v20100928-r8243.jar
Edit the Target Platform, adding the directory with the additional bundles:
Reload the Target Platform