Sunday, May 1, 2011

OpenLaszlo Compiler Help

Usage: lzc [OPTION]... FILE...

Options:
-D=
  Set the name/var property to value (See Compiler.getProperties).
-D
  Short for -Dname=true.
-v
  Write progress information to standard output.
--onerror [throw|warn]
  Action to take on compilation errors.  Defaults to warn.
--help
  Prints this message.
--application-root
  Location of root of application directory, if different from LPS_HOME
--allow-lzo-switch
  Allow external library in lzo compilation to contain a  block

Output options:
--runtime=[swf7|swf8|swf9|swf10|dhtml|mobile|j2me|svg|null]
  Compile to swf7,swf8,swf9,swf10,dhtml,mobile,j2me,svg,null
--flex-options=version=10.x,air,debug
  version: Flash 10 Player minor version [10.0 or 10.1] | air: use Adobe AIR config | debug: set flex compiler debug flag
--dir outputdir
  Output directory.
-c | --compile
  Compile and assemble, but do not link
 -a | --add-linkable-libraries-for-runtimes
  Used with -c flag, builds platform-specific libraries for lzo files, for each supported runtime in the --runtime arg(s).
-g1 | --debug
  Add debugging support into the output object.
-g | -g2 | --backtrace
  Add debugging and backtrace support into the output object.
-o  | --output 
  Put output into given filename.
-p | --profile
  Add profiling information into the output object.
--incremental
  for as3 runtime, use incremental compiler mode
--lzxonly
  for as3 runtime, emit intermediate as files, but don't call backend as3 compiler
--lzolibs
  (for use with --compile option), comma separated list of external lzo libraries to link against

Logging options:
-l
  Logging level (See org.apache.log4j.Level)
-l=
  Logging level (See org.apache.log4j.Level)
-lp file
  Log4j properties files
--log logfile
  Specify logfile (output still goes to console as well)
--schema
  Writes the schema to standard output.
-S | --script
  Writes JavaScript to .lzs file.
-SS | --savestate
  Writes JavaScript to .lzs file, and ASTs to -astin.txt, -astout.txt

No comments:

Post a Comment