SEARCH
TOOLBOX
LANGUAGES

Morfik Compiler Options

From Morfik Wiki

Jump to: navigation, search

In the Compiler section of Morfik Options dialog, allows the configuration of parameters which define how Morfik compilers and platform compiler behave. This section also allows the setting of the path for the Morfik Framework.


compiler-options.png
Morfik Compiler Options


Compiler Options

The Compiler Options area of the Compiler section of Morfik options dialog allows the setting of several options to configure how Morfik compilers behave when compiling the project. Individual options in the area are:


navigate-check32.png   Obfuscate JavaScript
This option instructs Morfik compilers to generate obfuscated JavaScript code. Obfuscated code, besides helping to prevent unauthorized viewing of browser side code, helps to improve performance by reducing the size of the code that gets downloaded to the browser.


navigate-check32.png   Optimize JavaScript
This option instructs the Morfik compilers to remove unused entities from browser-side code before generating the JavaScript. This helps to improve performance by reducing the size of the code that gets downloaded to the browser.


navigate-check32.png   Package Resources
This option allows the user to choose if the files added to the resource repository are packaged into a single file for deployment along with the application or remain as independent files in the repository folder for the project. In the latter case, all the files in the folder must be deployed along with the application.


navigate-check32.png   IE6 Support

navigate-check32.png   Startup Log

navigate-check32.png   Display Compiler Warnings
Checking this option will display the warning messages during compilation which identify codes that are valid and compile but could be potential problems that may surface at run time under certain circumstances.


navigate-check32.png   Generate MorfikSpace Image File
This option is used for managing the "project Image" created on Amazon S3 during Production Deployment using the Morfik Integrated Hosting. These images are accessible online (from secure websites) and can be deployed on selected Morfik hosting servers.

Framework Options

The Framework Options in the Compiler section of Morfik options allows the user to specify paths for the Morfik Framework and other libraries. The options in this area are the following:


textedit32.png   Framework Path
This field allows the user to specify an alternate path for the Morfik Framework which will be used in compiling the current project.


textedit32.png   Search Paths
This field allows the user to specify a series of folders in which Morfik will look for modules which are referenced in the project but not a part of it.

textedit32.png   Compiler Defines
This field allow the user to enter string symbols which will be interpreted by the compiler as user defined symbols for the purpose of conditional compilation.

Platform Compiler Options

The Platform Compiler Options allows the setting of the parameters on how the application will be generated.

combobox32.png   Target Platform
This option allows the user to choose which platform will be targeted at the platform compiler level.


button32.png   Advanced
This option brings up the Compiler Configuration Dialog where the user can specify a file name and path for the backend server side compiler as well as enter what command line parameters will be passed to it.

Related Topics