Package

Java, Type­Script, Python and Groovy

ide.<ProgrammingLanguage>.Package = ...

By default, when gene­rating the Java interface or when gene­rating the Java Scrapbook, if no DT prolog is defined in the decision table, the package specification is auto­mati­cally determined by analyzing the exist­ing Java sources in the target folder:

  • If the same package specification could be determined in two Java source codes, then this is used

  • If a package specification could be determined in only one Java source code, then this is used, but supplemented by a TODO comment: // TODO check/correct package declaration

  • If no package specification could be determined, package unknown; // TODO check/correct package declaration is used

If the parameter ide.Java.Package = …​ is used, this automatic package analysis can be suppressed and the argument used as a package:

  • ide.Java.Package = lfet.demo changes to package lfet.demo in the gene­rated Java source code

  • The Java code is gene­rated without package declaration with ide.Java.Package = ""