On 2010-02-23, at 17:42, cem sonmez wrote: > how do i learn the parameter options for lzc. I often use the developer > console for the compilation.
It's not documented, unfortunately, but it can tell you a little about itself: % lzc --help Usage: lzc [OPTION]... FILE... Options: -D<name>=<value> Set the name/var property to value (See Compiler.getProperties). -D<name> Short for -Dname=true. -v Write progress information to standard output. --mcache on|off Turns on/off media cache. Default is off. --onerror [throw|warn] Action to take on compilation errors. Defaults to warn. --help Prints this message. --flush-script-cache Doesn't flush script cache before compiling. --script-cache-dir directory Location of script cache directory (default <lps>/work/scache) --media-cache-dir directory Location of media cache directory (default <lps>/work/cache/cmcache) Output options: --runtime=[swf7|swf8|swf9|dhtml|j2me|svg|null] Compile to swf7, swf8, swf9, dhtml, j2me, svg, null --dir outputdir Output directory. -c | --compile Compile and assemble, but do not link -g1 | --debug Add debugging support into the output object. -g | -g2 | --backtrace Add debugging and backtrace support into the output object. -o <file> | --output <file> Put output into given filename. -p | --profile Add profiling information into the output object. Logging options: -l<loglevel> Logging level (See org.apache.log4j.Level) -l<loggerName>=<loglevel> 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. --script Writes JavaScript to standard output.
