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 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>
+
* 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 your Eclipse IDE open the ''New Project'' wizard and select ''Plug-in from existing JAR archives'':<br>[[Image:JarPluginWizard.png]]<br>
+
* In your Eclipse IDE open the ''New Project'' wizard and select ''Plug-in from existing JAR archives'':<br>[[Image:JarPluginWizard.png]]<br><br>
* On the ''JAR selection'' page use ''Add External...'':<br>[[Image:JarPluginWizard2.png]]<br>
+
* On the ''JAR selection'' page use ''Add External...'':<br>[[Image:JarPluginWizard2.png]]<br><br>
* On the ''Plug-in Project Properties'' page enter the following information:<br>[[Image:JarPluginWizard3.png]]<br>
+
* On the ''Plug-in Project Properties'' page enter the following information:<br>[[Image:JarPluginWizard3.png]]<br><br>
* After clicking ''Finish'' the new plug-in project should appear in your workspace:<br>[[Image:JarPluginWizardResult.png]]<br>
+
* After clicking ''Finish'' the new plug-in project should appear in your workspace:<br>[[Image:JarPluginWizardResult.png]]<br><br>

Revision as of 11:01, 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 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