Changing OpenLaszlo compiler properties

You can set OpenLaszlo compiler properties such as the output directory, debug level, and warning filters.

About this task

To access the OpenLaszlo properties, complete the following steps:


  1. Open WebSphere Commerce Developer and switch to the Package Explorer view.
  2. Right-click on the OpenLaszlo Web project and click Properties. The Properties for project name window opens. Click OpenLaszlo Settings.
  3. Change settings, as required:
    Compiler Settings
    Enable the debug console
    Displays the OpenLaszlo debug console when the application is running.
    Configure the compiler's output directory
    Specifies the location where the compiler places the compiled files. The default directory is WebContent.

    Compiler Settings
    File Settings Specify which OpenLaszlo file is compiled into a Flash file. You can use the Add button to add a new file. Each new file is compiled into a new Flash file. Use the Remove button to remove currently selected entries from the list.
    File Settings
    Warning Filter Lists warning messages that can be ignored. Each entry in the listing is a regular expression that is matched against any warning message generated by the OpenLaszlo compile process.
    Note: Before adding entries to the Warning Filter, ensure that you attempt to first resolve any issues, associated with the messages. Ignoring warning messages, that have not been analyzed first, is not recommended. Ensure that all warning messages are resolved or understood before creating a filter entry.

    Warning Filter
  4. Click Apply to save your changes. When you complete your changes, click OK to return to the Package Explorer window.