Jump to: navigation, search

Difference between revisions of "Texo/Download and Install"

(Maven)
Line 43: Line 43:
 
Texo jars (and the dependency on EMF) are also available in the [http://search.maven.org/#search%7Cga%7C1%7Corg.eclipse.emf.texo maven central repository} and in the [https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/emf/ sonatype snapshot repository].  
 
Texo jars (and the dependency on EMF) are also available in the [http://search.maven.org/#search%7Cga%7C1%7Corg.eclipse.emf.texo maven central repository} and in the [https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/emf/ sonatype snapshot repository].  
  
'''Note: the Texo pom files currently do not define dependencies to other libraries at the moment. This means that you manually need to define the dependency to the EMF jars and an org.json jar file. '''
+
The EMF jar files are published within the same group id. For version numbers check the [http://search.maven.org/#search%7Cga%7C1%7Corg.eclipse.emf.texo central] and [https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/emf/ sonatype-snapshot] repositories. Texo will work fine with older versions of EMF, but if you can use the latest EMF versions available in maven central.
  
The maven group id is: org.eclipse.emf.
+
'''Note: the Texo pom files currently do not explicitly define dependencies to the EMF and json libraries. This means that you manually need to define the dependency to these libraries in your own pom. This will be re-solved/fine-tuned in later versions.'''
 
+
The EMF jar files are published within the same group id. For version numbers check the [http://search.maven.org/#search%7Cga%7C1%7Corg.eclipse.emf.texo central] and [https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/emf/ sonatype-snapshot] repositories. Texo will work fine with older versions of EMF, but if you can use the latest EMF versions available in maven central.
+
  
 
=== Download Texo jar files ===
 
=== Download Texo jar files ===

Revision as of 13:48, 25 October 2012

Texo provides both a development as well as a runtime solution. The development plugins can be downloaded and installed in Eclipse using the update manager. For runtime usage you can use maven or download directly. See further below for more information.

Development Environment: update manager

For Texo's development solutions 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.

Runtime usage, web container

For runtime usage you have several options to download the Texo jar files and their dependencies.

Texo jar files and dependencies

To use the runtime layer of Texo in a web container you need the following jar files:

  • org.eclipse.emf.texo
  • org.eclipse.emf.texo.server: for server side logic, entitymanager handling etc.
  • org.eclipse.emf.texo.json: for json serialization and json web service support
  • org.eclipse.emf.texo.xml: for xml and xmi serialization for xml/json web service support
  • org.eclipse.emf.texo.datagenerator: for generating test data

The Texo runtime JAR and the generated runtime classes (*ModelFactory, *ModelPackage) depend on 3 (EMF) jar-files which are available through maven:

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

These jar files are available through maven (for example version 2.8.0-v20120911-0500).

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

For JSON web service support you also need to obtain org.json jar file. These can be downloaded from the maven central repository, the internet, or try this location.

Maven

Texo jars (and the dependency on EMF) are also available in the maven central repository} and in the [https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/emf/ sonatype snapshot repository.

The EMF jar files are published within the same group id. For version numbers check the central and sonatype-snapshot repositories. Texo will work fine with older versions of EMF, but if you can use the latest EMF versions available in maven central.

Note: the Texo pom files currently do not explicitly define dependencies to the EMF and json libraries. This means that you manually need to define the dependency to these libraries in your own pom. This will be re-solved/fine-tuned in later versions.

Download Texo jar files

The Texo jar files can also be downloaded through a browser from this page: http://download.eclipse.org/modeling/emft/texo/updates/interim

Texo Example Project(s)

The Texo example projects are hosted in this git repository:

This video discusses the example project setup and demos JSON web service support.