Skip to content

Functions

GuentherJulian edited this page Nov 24, 2020 · 44 revisions

Summary

You can use the following function:

  • installDevonIde
  • installCobiGen
  • createProject
  • cobiGenJava

installDevonIde

parameter

  1. The tools you want to install within the devonfw ide: string array

example

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


installCobiGen

parameter

  • No parameters

example

installCobiGen()


createProject


cobiGenJava

parameter

  1. The path to the java file you want to generate code for: string
  2. The numbers that represent the templates that CobiGen uses to generate code: int array

example

cobiGenJava("path/to/java/file/MyEntity.java",[1,3,5,6,8])

Clone this wiki locally