Create and Export MySQL JDBC driver bundle

From Eclipsepedia

Jump to: navigation, search

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 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.