
OpenLaszloConfigureProperties task
Configures OpenLaszlo compilation settings for an OpenLaszlo Web project.
Parameters
Attribute | Description | Required |
---|---|---|
project | The OpenLaszlo Web project to configure. | Yes |
debug | Whether to enable debugging and include the debugging window to the OpenLaszlo application canvas. | No |
outputDir | The directory, relative to the project root, to which the OpenLaszlo compiler writes its output. | No |
backtrace | Whether to include backtrace when debugging
is enabled. This attribute is only valid when the flashLevel attribute
is set to swf10 . |
No; Defaults to false |
flashlevel | The Flash level at which the OpenLaszlo source
file are compiled. One of: swf8 , swf10 |
No |
Nested elements
- OpenLaszloFile
Specifies an OpenLaszlo source file to add for compilation.
Attribute Description Required path The path, relative to the project root, of the OpenLaszlo source file to add for compilation. Yes - OpenLaszloWarning
Specifies a warning message filter to add.
Attribute Description Required pattern The regular expression that matches warning messages to be filtered. Yes
Examples
The following example disables
debugging and sets the compiler output directory to output/ for
the LOBtools
project:
<openLazloConfigureProperties project="LOBTools" debug="false" outputDir="output/" />
The
following example adds the OpenLaszlo source file WebContent/a.lzx for
compilation when the LOBTools
project is compiled.
<openLaszloConfigureProperties project="LOBTools">
<openLaszloFile path="WebContent/a.lzx" />
</openLaszloConfigureProperties>
The following example
adds a filter to suppress warning messages that contain the string
"refid" reported by the OpenLaszlo compiler when the LOBTools
project
is compiled.
<openLaszloConfigureProperties project="LOBTools">
<openLaslzoWarning pattern=".*refid.*" />
</openLaszloConfigureProperties>