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 "Texo/Download and Install"

(Texo Example Project(s))
(Using Texo at runtime outside of Eclipse/OSGI)
Line 19: Line 19:
 
To use the runtime layer of Texo outside of OSGI/Eclipse (for example in a web container) you need to pick the '''org.eclipse.emf.texo''' jar file which is located in the plugins directory of the Eclipse installation (after installing Texo).  
 
To use the runtime layer of Texo outside of OSGI/Eclipse (for example in a web container) you need to pick the '''org.eclipse.emf.texo''' jar file which is located in the plugins directory of the Eclipse installation (after installing Texo).  
  
Two other jar files which maybe of interest are:
+
Other jar files which maybe of interest are:
 +
* '''org.eclipse.emf.texo.json''': for json serialization
 
* '''org.eclipse.emf.texo.xml''': for xml and xmi serialization
 
* '''org.eclipse.emf.texo.xml''': for xml and xmi serialization
 
* '''org.eclipse.emf.texo.datagenerator''': for generating test data
 
* '''org.eclipse.emf.texo.datagenerator''': for generating test data

Revision as of 03:30, 3 April 2012

Texo is installed through the Eclipse Update Manager.

Update Manager Locations

To enable code generation in Eclipse or to use Texo in an OSGI-plugin environment in Eclipse, you need to install Texo into Eclipse. This is done through an update manager. For runtime usage of Texo see the next section.

Texo is available through this update site:

The last successful nightly build is available through this update site:

After installing and restarting you can generate code from ecore/xsd models and refer to Texo plugins from plugin MANIFEST.MF files.

Using Texo at runtime outside of Eclipse/OSGI

To use the runtime layer of Texo outside of OSGI/Eclipse (for example in a web container) you need to pick the org.eclipse.emf.texo jar file which is located in the plugins directory of the Eclipse installation (after installing Texo).

Other jar files which maybe of interest are:

  • org.eclipse.emf.texo.json: for json serialization
  • org.eclipse.emf.texo.xml: for xml and xmi serialization
  • org.eclipse.emf.texo.datagenerator: for generating test data

The Texo runtime JAR and the generated runtime classes (*ModelFactory, *ModelPackage) depend on 3 other JARs which are also located in the plugins directory:

  • org.eclipse.emf.common
  • org.eclipse.emf.ecore
  • org.eclipse.emf.ecore.xmi

For more information with using EMF in a standalone Java application, see:

You can also configure Texo to only generate Entities, no EMF dependencies.

Texo Example Project(s)

The Texo example projects are hosted in this git repository:

Back to the top