Skip to content

Latest commit

 

History

History
90 lines (67 loc) · 2.47 KB

File metadata and controls

90 lines (67 loc) · 2.47 KB

Setting up devonfw Code Generator(i.e. CobiGen)

There is also a CobiGen Command Line Interface(CLI) where you can start the setup following the generation of code.

This tutorial mainly focuses on the setup of CobiGen along with various commands to execute the generations. ## Prerequisites * devonfw IDE * User should have development experience of any language.

Learning goals.

Here in this tutorial you will learn * To setup CobiGen * To use commands on CobiGen CLI * To integrate Eclipse with CobiGen

restoreDevonfwIde(["java","mvn"])

devonfw IDE has been installed for you.

displayContent("CobiGen Setup", [{ "file": "files/cobiGenSetup.md" }])

In next step, you will learn about CobiGen CLI commands.

In this step, you will learn CobiGen commands.

displayContent("CobiGen CLI Commands and Options", [{ "file": "files/commandsAndOptions.md" }])

In next step, you will learn about how to integrate CobiGen with Eclipse.

Note: CobiGen comes preinstalled with devonfw IDE.

1.1 Preconditions - Eclipse 4.x

  • Atleast Java 7 Runtime (for starting eclipse with CobiGen). This is independent from the target version of your developed code

1.2. Installation steps * Open the eclipse installation dialog menu bar → Help → Install new Software

displayContent("Integrate Eclipse with CobiGen", [{"image": "images/01-install-new-software.png"}])

Here you can select the updates. 2. Open CobiGen’s update site

displayContent("Select Update Site", [{"image": "images/02-select-update-site.png"}, { "file": "files/eclipseIntegration.md" }])

displayContent("CobiGen Usage - Simple Mode", [{ "file": "files/simpleModeUsage.md" }, {"image": "images/03-simple-mode-usage.png"}])

displayContent("CobiGen Usage - Batch Mode", [{ "file": "files/batchModeUsage.md" }, {"image": "images/04-batch-mode-usage.png"}])

displayContent(" ", [{ "file": "files/healthCheckTroubleshooting-Conclusion.md" }])