Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

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

m
 
(7 intermediate revisions by one other user not shown)
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]]
+
* 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]]
+
* 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]]
+
* 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]]
+
* 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]]
+
* After clicking ''Finish'' the new plug-in project should appear in your workspace:<br>[[Image:JarPluginWizardResult.png]]<br><br>
 +
* Open the ''Export'' wizard and select ''Deployable plug-ins and fragments'':<br>[[Image:ExportWizard.png]]<br><br>
 +
* On the next page enter the following information:<br>[[Image:ExportWizard2.png]]<br><br>
 +
* After clicking ''Finish'' the exported binary plug-in should appear in the target platform:<br>[[Image:ExportWizardResult.png]]<br><br>
 +
* Finally you '''can''' close or delete the workspace project that you created before the export<br><br>
 +
 
 +
 
 +
Proceed with [[CDO_Source_Installation#Target Platform]]
 +
 
 +
 
 +
<br>
 +
----
 +
Wikis: [[CDO]] | [[Net4j]] | [[EMF]] | [[Eclipse]]
 +
 
 +
[[Category:Modeling]] [[Category:EMF]] [[Category:CDO]]

Latest revision as of 15:22, 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

Copyright © Eclipse Foundation, Inc. All Rights Reserved.