You are here: What's New in LANSA Version 15 > Other > Command Line Build

Command Line Build

The Windows command file compile.cmd can be used to compile Visual LANSA objects from the command line in a Visual LANSA version controlled (VCS) configuration. You can use it to schedule jobs, utilize CI/CD methodology or simply to run your builds from the command line to utilize the options available.

For example this command compiles only objects that have changed, are in version control and are part of the project represented by list OL1 in partition DEM:

Compile /PARTITION=DEM /PROJECT=OL1 /OBJECTS=CHG

The compile.cmd file  is located in <RootDir>\LANSA where <RootDir> is the root directory where Visual LANSA is installed.