Conditional Build

Top  Previous  Next

MoreMotion Application Studio supports conditionally building of a project depending on the build parameters defined in the deployment configuration.

Assume that you want to build the same project differently for Internet and Intranet use. You may prefer small sized image files for internet because of the connection speed and high quality image files and even videos for Intranet. You may additionally form different sets of pages for these environments.

The first thing you should do is to define build parameters in "Build Parameters" section of Deployment Configuration Dialog.  

You can then test the values of these parameters in the project pages and conditionally build the pages or the parts of the pages.

Where can you use build parameters?

In Generation Precondition Definition of Pages

In Generation Precondition Property of Condition Elements

In any property of any element in pages