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 "CDO/Hibernate Store/Download and Install"

(Example Projects)
(Update site locations)
Line 30: Line 30:
  
 
To install the CDO plugins use this update site:
 
To install the CDO plugins use this update site:
[http://download.eclipse.org/modeling/emf/cdo/updates/3.0-releases/ http://download.eclipse.org/modeling/emf/cdo/updates/3.0-releases/] for CDO 3.0. Or for CDO 4.0: [https://build.eclipse.org/hudson/job/emf-cdo-integration/lastSuccessfulBuild/artifact/result/site.p2 https://build.eclipse.org/hudson/job/emf-cdo-integration/lastSuccessfulBuild/artifact/result/site.p2]
+
[http://download.eclipse.org/modeling/emf/cdo/updates/3.0-releases/ http://download.eclipse.org/modeling/emf/cdo/updates/3.0-releases/] for CDO 3.0. Or for CDO 4.0: [https://hudson.eclipse.org/hudson/job/emf-cdo-integration/lastSuccessfulBuild/artifact/result/site.p2 https://hudson.eclipse.org/hudson/job/emf-cdo-integration/lastSuccessfulBuild/artifact/result/site.p2]
  
 
Teneo Hibernate 1.2.0 can be obtained from the update site listed here:
 
Teneo Hibernate 1.2.0 can be obtained from the update site listed here:

Revision as of 08:42, 8 October 2010


This page describes the required software components, their versions and download locations. Also the location of the example Eclipse projects is listed on this page.

Required plugins/versions

The CDO Hibernate Store is tested with the following software:

  • Eclipse 3.6 (Helios)
  • EMF 2.6
  • CDO 3.0
  • Hibernate 3.3.2 or later
  • Teneo 1.2.0
  • JDBC drivers for relevant databases


Note: the tutorials have been run also using Eclipse 3.5 and EMF 2.5 and this works fine (using CDO 3.0, Teneo 1.2.0 and Hibernate 3.3.2). There should not be any binary incompatibility between CDO 3.0 and Eclipse 3.5, EMF 2.5.

All the software should be installed/installed as plugins. The download locations of all the required plugins are listed in the next sections.

Update site locations

All the Hibernate store dependencies are downloaded and installed through update sites.

To download Eclipse 3.6 (Helios). To download it go to this page: http://www.eclipse.org/downloads/ and then the Development Builds tab. For the tutorials, the Eclipse IDE for Java EE Developers or Eclipse IDE for Java Developers can be used (no need to pick the full modeling tools).

EMF is probably included in the Eclipse IDE. It can be installed from the Helios update site directly.

To install the CDO plugins use this update site: http://download.eclipse.org/modeling/emf/cdo/updates/3.0-releases/ for CDO 3.0. Or for CDO 4.0: https://hudson.eclipse.org/hudson/job/emf-cdo-integration/lastSuccessfulBuild/artifact/result/site.p2

Teneo Hibernate 1.2.0 can be obtained from the update site listed here: http://www.eclipse.org/modeling/emf/downloads/?project=teneo.

The update site for hibernate and database drivers (mysql and hsqldb): http://www.elver.org/eclipse/update/.

Installing the plugins

The CDO plugins are installed using p2 directly.

Org.eclipse.emf.cdo.p2.site.png


For the zipped files the following approach can be used:

  • all the zip files were unzipped and then merged together in one directory 'eclipse' (with subdirectories features and plugins)
  • this eclipse directory was placed in the dropins directory of the eclipse installation

After installing restart eclipse.

For more information see the p2 getting started page.

After restarting Eclipse you can visit the Help > About Eclipse > Installation Details (a button). It should show the installed plugins as shown below.

Org.eclipse.emf.cdo.hibernate.plugins.png

Example Projects

The CDO Hibernate store tutorials make use of 3 Eclipse projects:

  • org.eclipse.emf.cdo.examples.company: contains the example model which has already been prepared for CDO (see here how this is done)
  • org.eclipse.emf.cdo.examples.hibernate.server: contains the server configuration and server side part of the tutorial
  • org.eclipse.emf.cdo.examples.hibernate.client: shows client connection code and contains junit tests creating and querying for data

The cvs location of these projects is here:

  • dev.eclipse.org
  • /cvsroot/modeling
  • paths:
    • org.eclipse.emf/org.eclipse.emf.cdo/plugins/org.eclipse.emf.cdo.examples.company
    • org.eclipse.emf/org.eclipse.emf.cdo/plugins/org.eclipse.emf.cdo.examples.hibernate.server
    • org.eclipse.emf/org.eclipse.emf.cdo/plugins/org.eclipse.emf.cdo.examples.hibernate.client


(note: the org.eclipse.emf.cdo.examples.hibernate.client contains dependencies on the hibernate cdo store server side. This is just to support the generation of the hbm file (see here). Normally a client side plugin would not have these dependencies.)


Wikis: CDO | Net4j | EMF | Eclipse

Copyright © Eclipse Foundation, Inc. All Rights Reserved.