Compile all components, including server pages, HTML forms, forms, reports, services, entity services, and session services.

/cpt   {/inf | /war}   {/lis{=2}}   {/sym}   {/cmi=0|1}   {/aft=DateTime}   {/bef=DateTime} {/iap |   {/tpl}   {/plt}}   {/nodebug}   {Profile}


Component—name of the component to compile; if omitted, all components are compiled (after considering any sub-switches). You can use wildcard characters to specify a group of components.

Use With

ide.exe—Uniface IDE


The /cpt command is equivalent to using /dsp, /usp, /frm, /rpt,/svc, /esv, and /ssv.

By default, this switch compiles normal components (the Purpose property is set to N (Normal). To compile components that are defined as templates or palettes (Purpose is T (Template) or P (Palette)), you can use the /tpl and /plt sub-switches. If you want to compile the components regardless of their purpose, you can use the /iap (include all purposes) sub-switch.

When compiling from the command, only error messages are shown by default. (Compiling interactively displays both error and warning messages.) Use the /inf, /war, /lis and /ilv sub-switches to increase the amount of information displayed.

Use the /nodebug sub-switch to specify that the compiled component(s) cannot be debugged.

Related Topics