Hi Mike,
You shouldn't need to configure all these options on the command line, many of them are just defaults. The error suggests that your build is not including the locale-specific resource bundles located in frameworks/locale. To get to grips with mxmlc I would suggest starting with a blank application (eg. Main.mxml) and verify you can build it with the command: mxmlc Main.mxml When you run this command you should see that mxmlc is loading a configuration file prior to performing the compilation. The configuration file defines the default compilation options for mxmlc. By default mxmlc uses the flex-config.xml file in the frameworks directory, but you can create your own version of this file for a specific build (see the load-config option). If you are using FDS and server-side compilation, you will already have a version of this file in WEB-INF/flex because the file is used by the server-side mxml compiler. Once you have a simple build working, try bringing in your other dependencies step-by-step. Paul ________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike Crowe Sent: Sunday, February 11, 2007 10:56 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Command line to compile system (extracted from FlexBuilder?) Hi Paul, here's the errors: Unable to resolve a class for ResourceBundle: collections ... And the command line: @"C:\Program Files\Adobe\Flex Builder 2\Flex SDK 2\bin\mxmlc.exe" "TaskBase2.mxml" -accessible=false -allow-source-path-overlap=false -as3=true -benchmark=true -debug=false -default-background-color 13421823 -default-frame-rate 24 -es=false -external-library-path "C:\Program Files\Adobe\Flex Builder 2\Flex SDK 2\frameworks\libs" -external-library-path library -generate-frame-loader=true -headless-server=true -include-libraries library\Cairngorm.swc -include-libraries library\corelib.swc -include-libraries library\flexunit.swc -include-libraries library\XPanel_Library.swc -incremental=true -keep-generated-actionscript=false -lazy-init=false -library-path "C:\Program Files\Adobe\Flex Builder 2\Flex SDK 2\frameworks\libs" -optimize=false -show-actionscript-warnings=true -show-binding-warnings=true -show-deprecation-warnings=true -source-path "C:\Program Files\Adobe\Flex Builder 2\Flex SDK 2\frameworks" -strict=true -use-network=true -verbose-stacktraces=false -warnings=true See anything? Mike --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Paul Williams" <[EMAIL PROTECTED]> wrote: > > Hi Mike, > > > > Perhaps this will help you get started: > > > > http://livedocs.macromedia.com/flex/201/html/wwhelp/wwhimpl/common/html/ <http://livedocs.macromedia.com/flex/201/html/wwhelp/wwhimpl/common/html /> > wwhelp.htm?context=LiveDocs_Book_Parts&file=apparch_116_14.html > > > > To automate with ant see below: > > > > http://labs.adobe.com/wiki/index.php/Flex_Ant_Tasks <http://labs.adobe.com/wiki/index.php/Flex_Ant_Tasks> > > > > If you are running mxmlc and encountering problems please provide a more > detailed description. > > > > Paul > > > > ________________________________ > > From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> [mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> ] On > Behalf Of Mike Crowe > Sent: Sunday, February 11, 2007 12:39 PM > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > Subject: [flexcoders] Command line to compile system (extracted from > FlexBuilder?) > > > > Hi folks, > > Is there a way to get the mxmlc command that FlexBuilder is executing > somehow? I'm running low on resources, and want to compile from the > command line. > > However, I can't seem to get a command line to work that produces a > working .swf. Any way I can get it somehow? > > TIA > Mike >