Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Documentation E2E POC Section (Code First and Contrct First) (#1368)
* test gitignore fork * HowTO cobigen E2E - Code First * HowTO cobigen E2E - Code First + Contract First * HowTO cobigen E2E - Code First + Contract First * HowTO cobigen E2E - Code First + Contract First * HowTO cobigen E2E - Code First + Contract First * HowTO cobigen E2E - Code First + Contract First * HowTO cobigen E2E - Code First + Contract First * HowTO cobigen E2E - Code First + Contract First * HowTO cobigen E2E - Code First + Contract First Co-authored-by: scerroni <stefano.cerroni@capgemini.com> Co-authored-by: SchettlerKoehler <62466958+SchettlerKoehler@users.noreply.github.com>
- Loading branch information
1 parent
0e3b52a
commit 13aa12f
Showing
28 changed files
with
615 additions
and
336 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,3 +30,7 @@ cobigen-eclipse/cobigen-eclipse-test/screenshots | |
.pydevproject | ||
objectdb | ||
.mypy_cache | ||
|
||
#Intellij | ||
.idea | ||
*.iml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
:doctype: book | ||
:toc: | ||
toc::[] | ||
= Adapt Templates from Cobigen | ||
|
||
== Adapt CobiGen_Templates | ||
|
||
After following this tutorial, you will have the CobiGen_Templates downloaded on your local machine. To import these templates you need to do the following: | ||
|
||
Right click in any part of the package explorer, then click on CobiGen -> Adapt templates | ||
|
||
image:images/howtos/e2e_gen/image56.png[] | ||
|
||
Click _Ok_: | ||
|
||
image:images/howtos/e2e_gen/image57.png[] | ||
|
||
Now the CobiGen_Templates project will be automatically imported into your workspace, as shown on the image below: | ||
|
||
image:images/howtos/e2e_gen/image58.png[] | ||
|
||
image:images/howtos/e2e_gen/image59.png[] | ||
|
||
Now you just need to change the Java version of the project to JRE 1.8. Right click on the JRE system library, and then on _Properties:_ | ||
|
||
image:images/howtos/e2e_gen/image60.png[] | ||
|
||
Now change the version to Java 1.8 | ||
image:images/howtos/e2e_gen/image61.png[] | ||
|
||
Now you have successfully imported the CobiGen templates. If you want to edit them, you will find them in the folder _src/main/templates._ For instance, the Java templates are located here: | ||
|
||
image:images/howtos/e2e_gen/image62.png[] | ||
|
||
Now you can adapt the templates as much as you want. Documentation about this can be found on: | ||
|
||
[source, URL] | ||
https://github.com/devonfw/tools-cobigen/wiki/Guide-to-the-Reader |
Oops, something went wrong.