Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [dtp-dev] Initial Enablement Project Contributions

Anthos,

Take a look at
http://www.eclipse.org/datatools/project_modelbase/modelbase_doc/DTP%20Modelbase%20White%20paper.htm
 to get you started. It includes a link to a Java program that generates
the XMI database vendor document that gets exposed via the
org.eclipse.datatools.connectivity.sqm.core.databaseDefinition extension
point.

Once you have used the Java program to generate a database/version-specific
XMI database vendor document, you will need to use the
org.eclipse.datatools.connectivity.sqm.core.databaseDefinition extension
point to expose it.

<extension
      point=
"org.eclipse.datatools.connectivity.sqm.core.databaseDefinition">
   <definition
         version="4.0"
         product="MySql"
         productDisplayString="%4.0_ProductString"
         versionDisplayString="%4.0_VersionString"
         file="runtime/vendors/MySql_4.0/MySql_4.0.xmi">
   </definition>
</extension>

In this case, the 4.0_ProductString and 4.0_VersionString are provided via
the plugin.properties file. These values specify a unique name and version
string for this given vendor XMI document – MySql as the product and 4.0 as
the version.
If you look at the file property of the extension point, it refers to a
particular path to the XMI document in the plug-in that exposes it. The
directory under runtime/vendors corresponds to “product” underscore
“version”, just like the name of the XMI file itself – MySQL_4.0.

Hope that helps!
--Fitz

Brian Fitzpatrick
Senior Software Engineer
DTP/Connectivity Committer
Sybase, Inc.



                                                                           
             "Anil Samuel"                                                 
             <anil.samuel@gmai                                             
             l.com>                                                     To 
             Sent by:                  "DTP development mailing list"      
             dtp-dev-bounces@e         <dtp-dev@xxxxxxxxxxx>               
             clipse.org                                                 cc 
                                                                           
                                                                   Subject 
             05/16/2006 04:07          Re: [dtp-dev] Initial Enablement    
             PM                        Project Contributions               
                                                                           
                                                                           
             Please respond to                                             
              DTP development                                              
               mailing list                                                
             <dtp-dev@eclipse.                                             
                   org>                                                    
                                                                           
                                                                           




Hi Rob

Are there any docs on how-to generte these dbdefinitions ?

Regards
Anthos

On 5/12/06, rcernich@xxxxxxxxxx <rcernich@xxxxxxxxxx> wrote:

  Hey all,

  I'm getting ready to make the initial contributions to the enablement
  project.  This is basically moving the vendor specific plugins currently
  residing within connectivity to the enablement project.  In addition,
  I've
  created skeleton projects for some of the vendor specific DBs.
  Currently,
  these skeletons only contain driver definition extensions (most of which
  are/were defined within ...connectivity.db.generic).

  Here's a list of the new/migrated plugins:
  org.eclipse.datatools.enablement.ibm.db2.iseries.dbdefinition
  org.eclipse.datatools.enablement.ibm.db2.luw.dbdefinition
  org.eclipse.datatools.enablement.ibm.db2.luw.profile
  org.eclipse.datatools.enablement.ibm.db2.zseries.dbdefinition
  org.eclipse.datatools.enablement.ibm.informix.dbdefinition
  org.eclipse.datatools.enablement.msft.sqlserver.dbdefinition
  org.eclipse.datatools.enablement.mysql.dbdefinition
  org.eclipse.datatools.enablement.mysql.profile
  org.eclipse.datatools.enablement.oracle.dbdefinition
  org.eclipse.datatools.enablement.oracle.profile
  org.eclipse.datatools.enablement.sybase.ase.dbdefinition
  org.eclipse.datatools.enablement.sybase.ase.profile

  All the plugins ending with "dbdefinition" contain the dbdefinition
  models
  as defined within the connectivity project or the connectivity project's
  "attic.".  All the plugins ending with "profile" are the skeletons
  containing driver definitions.  With the exception of the MySQL plugin,
  which is new, these driver definitions were previously defined with
  ...connectivity.db.generic.

  These changes will result in the deprecation of the following plugins:
  org.eclipse.datatools.connectivity.dbdefinition.db2.luw
  org.eclipse.datatools.connectivity.dbdefinition.informix
  org.eclipse.datatools.connectivity.dbdefinition.oracle
  org.eclipse.datatools.connectivity.dbdefinition.sqlserver
  org.eclipse.datatools.connectivity.dbdefinition.sybase

  Please let me know if these names are acceptable and I will commit the
  changes.

  Thanks,
  Rob

  _______________________________________________
  dtp-dev mailing list
  dtp-dev@xxxxxxxxxxx
  https://dev.eclipse.org/mailman/listinfo/dtp-dev



--
Anil Samuel <anil.samuel@xxxxxxxxxx>
Principal Technical Member
Product Development
Oracle Corporation _______________________________________________
dtp-dev mailing list
dtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dtp-dev

Back to the top