|
2 | 2 |
|
3 | 3 | JaMoPP can parse Java source code into EMF-based models and vice versa. It can be used for code analysis and refactoring. |
4 | 4 |
|
5 | | -Compared to the original version, the following extensions were made: |
6 | | - |
7 | | -- Support for Java 7-15 |
8 | | -- Parsing based on the Eclipse Java Development Tools (JDT) |
9 | | -- Printing directly based on the meta model |
10 | | -- Three variants for the reference resolution (based on the Java syntax and/or JDT bindings) |
11 | | -- Trivial recovery for unresolved references |
12 | | - |
13 | | -The current documentation of the extended JaMoPP is available [online at the KIT library](https://publikationen.bibliothek.kit.edu/1000149186). |
| 5 | +The current documentation of the extended JaMoPP is available [online on GitHub Pages](https://MDSD-Tools.github.io/TheExtendedJavaModelParserAndPrinter) and [in this repository](./jamopp-ext.doc/docs) (as raw Markdown). |
14 | 6 |
|
15 | 7 | The extended version is developed by the Institute of Information Security and Dependability (KASTEL) at the Karlsruher Institute of Technology (KIT). This repository is not endorsed by or affiliated with DevBoost GmbH or Software Technology Group, Dresden University of Technology. |
16 | 8 |
|
17 | | -# Download / Installation |
18 | | - |
19 | | -Currently, JaMoPP can be installed from its [update site](https://updatesite.palladio-simulator.com/palladio-supporting-eclipsejavadevelopmenttools/nightly/), or the plugins can be directly imported into Eclipse: |
20 | | - |
21 | | -1. Use the Eclipse Modeling Tools 2022-09 with Java 11 and UTF-8 encoding, and (optionally) install Xtext from the Marketplace. |
22 | | -2. Clone this repository. |
23 | | -3. Import all existing plugins of this repository. |
24 | | -5. Set `releng/org.palladiosimulator.jdt.targetplatform/org.palladiosimulator.jdt.targetplatform.target` as the active target platform. |
25 | | -4. In `releng/org.palladiosimulator.jdt.workflow/workflow/`, execute the `generate.mwe2` file (if Xtext is installed). Alternatively, execute a build in which the model code is also generated. |
26 | | -5. Now, JaMoPP should be usable. Please, note: the file encoding needs to be set to UTF-8. Otherwise, there can be compilation errors. |
27 | | - |
28 | | -# Building |
29 | | - |
30 | | -To build JaMoPP, execute `mvnw clean verify` within the repository to start the Maven build via its wrapper. |
31 | | - |
32 | | -# Re-generating the Model Code |
33 | | - |
34 | | -If the model code needs to be re-generated, there are the following possibilities: |
35 | | - |
36 | | -1. Use the genmodel editor in Eclipse. Please, use only the generation for the model, edit, and editor code (not the test code). |
37 | | -2. Execute the `clean.mwe2` and `generate.mwe2` files in `releng/org.palladiosimulator.jdt.workflow/wokflow/` if Xtext is installed. |
38 | | -3. Perform a build. |
39 | | - |
40 | 9 | # Sources on GitHub |
41 | 10 |
|
42 | 11 | [https://github.com/MDSD-Tools/TheExtendedJavaModelParserAndPrinter](https://github.com/MDSD-Tools/TheExtendedJavaModelParserAndPrinter) |
|
0 commit comments