compile-mxml
Purpose
Compiles .mxml files to .swf files and optionally creates a html wrapper file. The general format is:
grails compile-mxml MXML_FILE_NAME [SWF_FILE_NAME] [GSP_WRAPPER_FILE_NAME]
Examples
grails compile-mxml web-app/Main.mxml
grails compile-mxml web-app/flex/Main.mxml web-app/Main.swf
grails compile-mxml web-app/flex/Main.mxml web-app/Main.swf grails-app/views/Main.gsp
Description
Compiles the specified .mxml file into a .swf, either to the same directory if no output file is specified or to the specified output file if it is. Also generates an HTML wrapper file if the third parameter is specified.