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 "EATOP/metamodelgen"
< EATOP
(→Adding Enterprise Architect API) |
(→Installation) |
||
Line 1: | Line 1: | ||
==Installation== | ==Installation== | ||
− | |||
− | |||
− | |||
===Prerequistes=== | ===Prerequistes=== | ||
# Windows Vista, 7 (Linux or Mac is not supported) | # Windows Vista, 7 (Linux or Mac is not supported) | ||
# Enterprise Architect 9.1 or greater | # Enterprise Architect 9.1 or greater | ||
− | # | + | # [http://eclipse.org/downloads Download] and [http://wiki.eclipse.org/Eclipse/Installation install] the latest '''Eclipse Modeling Tools''' 32 Bit package |
===Getting the source code=== | ===Getting the source code=== | ||
Line 32: | Line 29: | ||
* Wait for the completion of the ''Resolving Target Definition'' operation. This may take a while, in particular at the first time, because all directly and indirectly required target platform plug-ins and features are being downloaded or updated as necessary during that operation. If errors occur, try to close and reopen the target definition file so as to re-trigger the target platform resolution; | * Wait for the completion of the ''Resolving Target Definition'' operation. This may take a while, in particular at the first time, because all directly and indirectly required target platform plug-ins and features are being downloaded or updated as necessary during that operation. If errors occur, try to close and reopen the target definition file so as to re-trigger the target platform resolution; | ||
* Click on link ''Set as Target Platform'' (in the upper right corner of the target editor). | * Click on link ''Set as Target Platform'' (in the upper right corner of the target editor). | ||
− | |||
==User guide== | ==User guide== |
Revision as of 10:42, 9 April 2014
Contents
Installation
Prerequistes
- Windows Vista, 7 (Linux or Mac is not supported)
- Enterprise Architect 9.1 or greater
- Download and install the latest Eclipse Modeling Tools 32 Bit package
Getting the source code
The source code of EATOP MMGen Tool is managed in a Git repository.
- Clone the git repository: git://git.eclipse.org/gitroot/eatop/org.eclipse.eatop.git
- Import all the plugins under metamodelgen folder into your workspace
Adding Enterprise Architect API
Make sure the Enterprise Architect 9.1 or greater has been installed on your computer.
- Copy eaapi.jar from your installation, e.g., C:\Program Files (x86)\Sparx Systems\EA\Java API, to:
org.eclipse.eatop.eaadapter/lib org.eclipse.eatop.metamodel/lib
- Copy SSJavaCOM.dll from your installation, e.g., C:\Program Files (x86)\Sparx Systems\EA\Java API, to:
org.eclipse.eatop.eaadapter org.eclipse.eatop.eaadapter/lib org.eclipse.eatop.metamodel org.eclipse.eatop.metamodel/lib
Setting the target platform
EATOP MMGen Tool provides target platform definitions for the two latest Eclipse releases. These target definitions are in the project org.eclipse.eatop.metamodelgen.tool.targetdefs.
- Open the target definition file xxx.target that corresponds to the Eclipse release you want to work with;
- Wait for the completion of the Resolving Target Definition operation. This may take a while, in particular at the first time, because all directly and indirectly required target platform plug-ins and features are being downloaded or updated as necessary during that operation. If errors occur, try to close and reopen the target definition file so as to re-trigger the target platform resolution;
- Click on link Set as Target Platform (in the upper right corner of the target editor).