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.
Difference between revisions of "Texo/Download and Install"
(→Texo Example Project(s)) |
|||
Line 1: | Line 1: | ||
__TOC__ | __TOC__ | ||
− | Texo | + | 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 support plugins: 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: | Texo is available through this update site: | ||
Line 15: | Line 15: | ||
After installing and restarting you can generate code from ecore/xsd models and refer to Texo plugins from plugin MANIFEST.MF files. | 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 | + | 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''' | ||
− | |||
− | |||
* '''org.eclipse.emf.texo.server''': for server side logic, entitymanager handling etc. | * '''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.json''': for json serialization and json web service support | ||
Line 32: | Line 28: | ||
* '''org.eclipse.emf.texo.datagenerator''': for generating test data | * '''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: | |
− | + | ||
− | The Texo runtime JAR and the generated runtime classes (*ModelFactory, *ModelPackage) depend on 3 (EMF) jar-files | + | |
* '''org.eclipse.emf.common''' | * '''org.eclipse.emf.common''' | ||
* '''org.eclipse.emf.ecore''' | * '''org.eclipse.emf.ecore''' | ||
* '''org.eclipse.emf.ecore.xmi''' | * '''org.eclipse.emf.ecore.xmi''' | ||
+ | |||
+ | These jar files are available through maven | ||
For '''JSON''' web service support you also need to obtain org.json jar file. These can be downloaded from the internet, or try [http://www.eclipse.org/downloads/download.php?r=1&file=/tools/orbit/downloads/drops/R20110523182458/repository/plugins/org.json_1.0.0.v201011060100.jar this] location. | For '''JSON''' web service support you also need to obtain org.json jar file. These can be downloaded from the internet, or try [http://www.eclipse.org/downloads/download.php?r=1&file=/tools/orbit/downloads/drops/R20110523182458/repository/plugins/org.json_1.0.0.v201011060100.jar this] location. | ||
Line 46: | Line 42: | ||
You can also configure Texo to [[Texo/Code_Generation_Patterns#Only_Generate_Entities_-_No_EMF_dependencies | only generate Entities, no EMF dependencies]]. | You can also configure Texo to [[Texo/Code_Generation_Patterns#Only_Generate_Entities_-_No_EMF_dependencies | only generate Entities, no EMF dependencies]]. | ||
+ | |||
+ | == Maven == | ||
+ | |||
+ | Texo jars (and the dependency on EMF) are also available in the central repository and in the main sonatype repository for snapshots. | ||
+ | |||
+ | Note: | ||
+ | * the Texo pom files do not define dependencies to other libraries at the moment. Texo depends on 3 EMF jar files (see below on these page) | ||
+ | |||
+ | == Download Texo jar files === | ||
+ | |||
+ | The Texo jar files can be downloaded through a browser by going to this page: http://download.eclipse.org/modeling/emft/texo/updates/interim | ||
+ | |||
+ | === Dependencies === | ||
+ | |||
== Texo Example Project(s) == | == Texo Example Project(s) == |
Revision as of 14:30, 25 October 2012
Contents
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 support plugins: 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:
- org.eclipse.emf.common
- org.eclipse.emf.ecore
- org.eclipse.emf.ecore.xmi
These jar files are available through maven
For JSON web service support you also need to obtain org.json jar file. These can be downloaded from the internet, or try this location.
For more information with using EMF in a standalone Java application, see:
- EMF/FAQ#I want to use EMF, SDO, or XSD in my standalone project, or include only a working subset of the code. What libraries (jar files) do I need in my CLASSPATH?
- EMF/FAQ#How do I use EMF in standalone applications (such as an ordinary main)?
You can also configure Texo to only generate Entities, no EMF dependencies.
Maven
Texo jars (and the dependency on EMF) are also available in the central repository and in the main sonatype repository for snapshots.
Note:
- the Texo pom files do not define dependencies to other libraries at the moment. Texo depends on 3 EMF jar files (see below on these page)
Download Texo jar files =
The Texo jar files can be downloaded through a browser by going to this page: http://download.eclipse.org/modeling/emft/texo/updates/interim
Dependencies
Texo Example Project(s)
The Texo example projects are hosted in this git repository:
- browse: https://github.com/mtaal/texo
- clone: git://github.com/mtaal/texo.git
This video discusses the example project setup and demos JSON web service support.