Develop > WebSphere Commerce development environment > Enhancements to working with OpenLaszlo files


Changing OpenLaszlo compiler properties

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

The OpenLaszlo properties can also be changed with an ANT target: OpenLaszloConfigureProperty.

To access the OpenLaszlo properties...


Procedure

  1. Open WebSphere Commerce Developer and switch to the Package Explorer view.

  2. Right-click LOBTools and click Properties. The Properties for LOBTools window opens. Click OpenLaszlo Settings.

  3. Change settings, as required:

    Option Description
    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.
    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.
    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.

    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.

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


Related tasks

Work with OpenLaszlo files

Accept OpenLaszlo applications

Changing key mapping for OpenLaszlo actions

Related reference

Trace an OpenLaszlo build


+

Search Tips   |   Advanced Search