Skip to content
Michael Baas edited this page Jul 25, 2024 · 7 revisions

DBuild processes scripts (in text-files with extension .dyalogbuild) to build a workspace by loading components or executing code specified in the buildfile. The argument to the ]DBuild-Usercommand is the name of a buildfile.

The following optional modifiers are supported:

  • -clear: expunge all objects. Optionally restrict this to all elements of selected nameclass[es] with -clear=NC
  • -production: remove links to source files
  • -quiet: only output actual errors (in other words: DBuild is only quiet as long as things work. Errors will always be shown!)
  • -halt: halt on error rather than log and continue
  • -save: save the build workspace (overwrites TARGET's save-option). NB: we only save if no errors were logged during Build-process! In order to overwrite a saveoption given with the TARGET-Command, use -save=0. (TecNote)
  • -off: )OFF after completion. If errors were logged, logfile (same basename as the .dyalogbuild-file, with extension log) will be created.
  • -TestClassic: check imported code for compatibility with classic editions (charset, not language-features!) (optionally specify the lowest version that should be checked.)
  • -nosource: remove internal representation of source code (necessary when build workspace will be loaded in varying environments/editions)

Additional information:

Clone this wiki locally