...
Config Key | Mandatory/ Optional | Type | Purpose | ||
---|---|---|---|---|---|
JSCONFIG_XML | Mandatory | String | This key is used to provide the XML name containing the list of Sigma script configuration files. The file must follow the following template:<jsfiles><fileset id="<WORKSPACE_ID>"><file url="<FILE_NAME_WITH_CONTEXT_PATH>">.....</file></fileset></jsfiles>
| ||
COMPRESS_JS_FILES | Mandatory | Boolean | This key is used to decide whether Canvas must compress the JS or not. Default value is Y. | ||
COMPRESS_CSS_FILES | Mandatory | Boolean | This key is used to decide whether Canvas must compress the CSS or not. Default value is Y. | ||
COMPRESS_FILE_PATH | Mandatory | String | This key is used to set the path of the compressed file. | ||
CT_ENABLE_DEEPLINKING | Mandatory | Boolean | This key is used to enable or disable deep-linking in Hybrid app. Default value is Y. | ||
COMPILE_SASS_ON_BUILD | Optional | Boolean | This Key would do SASS compilation at build time. |
The following is a sample web utility configuration Sigmawebutilconfig.properties (as per the name given in the default descriptor):
Code Block | ||
---|---|---|
| ||
# The XMLxml name containing the list of On Demand JS file ############################################################################## # The#The following file should follow the template - # <jsfiles><fileset id="<WORKSPACE_ID>"> #><file <file url="<FILE_NAME_WITH_CONTEXT_PATH>">.....</fileset></jsfiles> JSCONFIG_XML=SigmaScriptConfig.xml # The#The following configuration contains the flag to enable JS compression. # The default isDefaults to Y. COMPRESS_JS_FILES=N #The # The following configuration contains the flag to enable CSS compression. Defaults # The default is Y.to Y COMPRESS_CSS_FILES=N #The # Thefollowing property would do sass compilation at build time and stop runtime/start-time sass compilation Defaults to Y COMPILE_SASS_ON_BUILD=N #The following flag is used to set the path of the compressed file. ##This This path configured should be relative to the root path that is # configured as CT_WORK_FOLDER_PATH in implementation property file. COMPRESS_FILE_PATH=/Resources # This property enables/disables deep-linking in Hybrid app. Defaults # The default is Y.to Y CT_ENABLE_DEEPLINKING=Y # SKIP TEMPLATE COMPILATION SKIP_TEMPLATE_COMPILATION=Y |