Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Windows command file compile.cmd is located in <RootDir>\LANSA where <RootDir> is the root directory where Visual LANSA is installed. This command file is used to compile Visual LANSA objects from the command line in a Visual LANSA version controlled (VCS) configuration. This allows you to schedule jobs, utilise CI/CD methodology or simply to run your builds from the command line to utilise the options available.

Syntax:

compile /PARTITION= [/PROJECT=] [/OBJECTS=] [/VCONLY=] [/EXCLUDE=] [/OBJTYPE=] [/BUILDID=]

...

A good tip is to use the current timestamp in the BUILDID. Default is a timestamp in the following format YYYYMMDD_HHMMSSFF (FF is fraction of second).

Examples:

Compile only objects that have changed, are in version control and are part of the project represented by list OL1 in partition DEM:

...