Skip to main content
Jump to: navigation, search

Difference between revisions of "Teneo/Hibernate/Download and Install"

(New page: __TOC__ The installation method for Teneo depends on the target environment(Eclipse/OSGI or web container). Both cases are discussed on this page. This page also describes where to find ...)
 
Line 13: Line 13:
 
* Apache commons logging
 
* Apache commons logging
 
* JDBC driver
 
* JDBC driver
 +
 +
Some dependencies can not be downloaded from eclipse.org because of licensing differences. Teneo provides an update site with the required dependencies: http://www.elver.org/eclipse/update.
  
 
== Download and install using the update manager (for usage in Eclipse/OSGI) ==
 
== Download and install using the update manager (for usage in Eclipse/OSGI) ==
  
 +
To download and install Teneo and its dependencies
  
 
http://www.elver.org/eclipse/update
 
http://www.elver.org/eclipse/update
Line 21: Line 24:
 
http://download.eclipse.org/modeling/emf/updates/interim/
 
http://download.eclipse.org/modeling/emf/updates/interim/
  
 +
== Creating your own Hibernate plugin ==
 +
 +
The Teneo dependencies can be downloaded from the Teneo dependency update site (http://www.elver.org/eclipse/update). However, if you want to make your own Hibernate/library plugin there is one specific setting which needs to be set in your plugin. Make sure to add the following line to the MANIFEST.MF of the Hibernate/libraries plugin you create:
 +
 +
'''Eclipse-BuddyPolicy: dependent'''
 +
 +
This is required otherwise the Hibernate libraries can not find your model classes when performing runtime class enhancement. See [http://manuelselva.wordpress.com/2008/04/03/eclipse-and-hibernate-and-class-loaders/ here] for more information. Note that also other Eclipse-BuddyPolicy settings can be used (and can make sense in production environments) but the 'dependent' setting is the safest one.
  
 
== Download directly ==
 
== Download directly ==

Revision as of 05:50, 23 January 2010


The installation method for Teneo depends on the target environment(Eclipse/OSGI or web container). Both cases are discussed on this page. This page also describes where to find the example projects used in the tutorials in the wiki.

Teneo is build and tested on Eclipse 3.5 (Teneo 1.1.*) and Eclipse 3.6 (Teneo 1.2.*). This page assumes that you have a running Eclipse 3.5/3.6 available.

Dependencies

To run Teneo you need the following software:

  • EMF 2.5 (Teneo 1.1.*) or 2.6 (Teneo 1.2.*)
  • Hibernate 3.3.2 and its dependencies
  • Apache commons logging
  • JDBC driver

Some dependencies can not be downloaded from eclipse.org because of licensing differences. Teneo provides an update site with the required dependencies: http://www.elver.org/eclipse/update.

Download and install using the update manager (for usage in Eclipse/OSGI)

To download and install Teneo and its dependencies

http://www.elver.org/eclipse/update

http://download.eclipse.org/modeling/emf/updates/interim/

Creating your own Hibernate plugin

The Teneo dependencies can be downloaded from the Teneo dependency update site (http://www.elver.org/eclipse/update). However, if you want to make your own Hibernate/library plugin there is one specific setting which needs to be set in your plugin. Make sure to add the following line to the MANIFEST.MF of the Hibernate/libraries plugin you create:

Eclipse-BuddyPolicy: dependent

This is required otherwise the Hibernate libraries can not find your model classes when performing runtime class enhancement. See here for more information. Note that also other Eclipse-BuddyPolicy settings can be used (and can make sense in production environments) but the 'dependent' setting is the safest one.

Download directly

Teneo can be downloaded directly from this page. Note that it is always better to use a maintenance build, also for maintenance builds all the test cases pass. Maintenance builds are listed a bit lower on the download page.

Download and Install Teneo for usage within a Web Container

For usage within a web container it is easier

Download and Install Example Projects for Tutorials

Back to the top