Skip to content

Feature Description

This is a list of features LemonTree.Automation has implemented. Click on a link to see details. All commands and options are case-insensitive.

Diff

Merge

Publish

Import

ConsistencyCheck

SvgExport

Modeltransfer

License

All commands can be extended with a --license option to ensure a specific license is being used. This option takes either an folder or a .lic-file directly.

If a folder is specified, the first found .lic license is used. For more information on licenses please check the License section or contact support@lieberlieber.com.

Logging

Lemontree Automation logs to the console by default. This output can be redirected to a file, methods here differ on the console used but usually the > operator is used. Example:

.\LemonTree.Automation.exe consistencycheck --model "%programfiles(x86)%\Sparx Systems\EA\EAExample.qea" --verbosity diagnostic > output.log

Every command can be extended with a --verbosity option to set the logging level. Allowed values are:

  • quiet (default)
  • minimal
  • normal
  • detailed
  • diagnostic

Exit codes

The following exit codes can be produced by LemonTree.Automation:

Some consoles only use postive numbers between 0 and 255 as exit codes, in those cases -2 and -1 are converted to 254 or 255 respectively.

Exit Code Windows Exit Code Linux Description
-2 254 General Error handled during application execution
-1 255 Error during parsing of command line parameters.
0 0 Command completed successfully.
2 2 Internal Error when diffing. Please report such errors to support@lieberlieber.com
3 3 Models can not be merged automatically. Typically this indicates that there are conflicts which could not be resolved.
5 5 Error during QuickPublish- most likely wrong GUID
6 6 Error with license (see Chapter Licensing)
9 9 Out file could not be written.
11 11 Error on import.
14 14 Error on publish.
16 16 Model type used not supported by current OS.