Package
|
Java, TypeScript, Python and Groovy |
ide.<ProgrammingLanguage>.Package = ...
By default, when generating the Java interface or when generating the Java Scrapbook, if no DT prolog is defined in the decision table, the package specification is automatically determined by analyzing the existing 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 generated Java source code
-
The Java code is generated without package declaration with ide.Java.Package = ""