Jump to: navigation, search

Difference between revisions of "Create and Export MySQL JDBC driver bundle"

Line 1: Line 1:
This page explains how to create an OSGi bundle for the MySQL JDBC driver that you downloaded as part of [[CDO_Source_Installation#Downloads]] and export it to the [[CDO_Source_Installation#Target Platform|target platform]] of your [[CDO_Source_Installation#Workspace|CDO workspace]].
+
This page explains how to create an OSGi bundle for the MySQL JDBC driver that you downloaded as part of [[CDO_Source_Installation#Downloads]] and how to export it to the [[CDO_Source_Installation#Target Platform|target platform]] of your [[CDO_Source_Installation#Workspace|CDO workspace]].
  
 
* In the file system extract the MySQL driver JAR from the downloaded MySQL ZIP file to the <tt>downloads</tt> folder:<br>[[Image:ExtractMysqlJar.png]]<br><br>
 
* In the file system extract the MySQL driver JAR from the downloaded MySQL ZIP file to the <tt>downloads</tt> folder:<br>[[Image:ExtractMysqlJar.png]]<br><br>

Revision as of 13:06, 27 June 2008

This page explains how to create an OSGi bundle for the MySQL JDBC driver that you downloaded as part of CDO_Source_Installation#Downloads and how to export it to the target platform of your CDO workspace.

  • In the file system extract the MySQL driver JAR from the downloaded MySQL ZIP file to the downloads folder:
    ExtractMysqlJar.png

  • In your Eclipse IDE open the New Project wizard and select Plug-in from existing JAR archives:
    JarPluginWizard.png

  • On the JAR selection page use Add External...:
    JarPluginWizard2.png

  • On the Plug-in Project Properties page enter the following information:
    JarPluginWizard3.png

  • After clicking Finish the new plug-in project should appear in your workspace:
    JarPluginWizardResult.png

  • Open the Export wizard and select Deployable plug-ins and fragments:
    ExportWizard.png

  • On the next page enter the following information:
    ExportWizard2.png

  • After clicking Finish the exported binary plug-in should appear in the target platform:
    ExportWizardResult.png

  • Finally you can close or delete the workspace project that you created before the export


Proceed with CDO_Source_Installation#Target Platform




Wikis: CDO | Net4j | EMF | Eclipse