Re: [flexcoders] few compc questions
Ah, I didn't realize it was part of the compiler. switches. Thanks. On Mon, Dec 22, 2008 at 10:30 AM, Manish Jethani manish.jeth...@gmail.com wrote: On Sat, Dec 20, 2008 at 1:13 AM, aaron smith beingthexemplaryli...@gmail.com wrote: Yeah that -include-libraries worked. Strange as it isn't documented in the compc help, or the online docs for compc. How did you come about finding that? I gave the '-help' option to compc on the commandline. bash$ compc -help include Adobe Flex Compiler (compc) Version 3.2.0 build 3958 Copyright (c) 2004-2007 Adobe Systems, Inc. All rights reserved. -compiler.include-libraries [library] [...] alias -include-libraries a list of libraries (SWCs) to completely include in the SWF (repeatable) ... -- http://manishjethani.com/
Re: [flexcoders] few compc questions
Yeah that -include-libraries worked. Strange as it isn't documented in the compc help, or the online docs for compc. How did you come about finding that? Thanks for that tip about resource bundles. -Aaron On Fri, Dec 19, 2008 at 11:02 AM, Manish Jethani manish.jeth...@gmail.com wrote: On Fri, Dec 19, 2008 at 3:36 PM, aaron smith beingthexemplaryli...@gmail.com wrote: -Does anyone know what the -include-resource-bundles switch does with compc? It includes the specified resource bundles and any dependencies. compc -output myResources_en_US.swc \ -include-resource-bundles foo.bar.tooltips -locale=en_US Includes foo/bar/tooltips.properties. If you have any 'Embed' metadata in the properties file where you're including some other objects (SWFs, PNGs, etc.), those objects will be included too. Basically this is for compiling a resource bundle SWC in a specific locale. e.g. myResources_en_US.swc. You can then use this SWC to compile your main application by putting it in mxmlc's library path. -Why does compc expose all of the metadata switches and compiler switches when most don't apply? :-/ -Is there a way to create a new swc, and include classes from other swcs in the new one? I think you can include _all_ classes from another SWC by using -include-libraries but I'm not sure about including specific classes. Manish
Re: [flexcoders] few compc questions
On Sat, Dec 20, 2008 at 1:13 AM, aaron smith beingthexemplaryli...@gmail.com wrote: Yeah that -include-libraries worked. Strange as it isn't documented in the compc help, or the online docs for compc. How did you come about finding that? I gave the '-help' option to compc on the commandline. bash$ compc -help include Adobe Flex Compiler (compc) Version 3.2.0 build 3958 Copyright (c) 2004-2007 Adobe Systems, Inc. All rights reserved. -compiler.include-libraries [library] [...] alias -include-libraries a list of libraries (SWCs) to completely include in the SWF (repeatable) ... -- http://manishjethani.com/
[flexcoders] few compc questions
-Does anyone know what the -include-resource-bundles switch does with compc? -Why does compc expose all of the metadata switches and compiler switches when most don't apply? -Is there a way to create a new swc, and include classes from other swcs in the new one? Thanks
Re: [flexcoders] few compc questions
On Fri, Dec 19, 2008 at 3:36 PM, aaron smith beingthexemplaryli...@gmail.com wrote: -Does anyone know what the -include-resource-bundles switch does with compc? It includes the specified resource bundles and any dependencies. compc -output myResources_en_US.swc \ -include-resource-bundles foo.bar.tooltips -locale=en_US Includes foo/bar/tooltips.properties. If you have any 'Embed' metadata in the properties file where you're including some other objects (SWFs, PNGs, etc.), those objects will be included too. Basically this is for compiling a resource bundle SWC in a specific locale. e.g. myResources_en_US.swc. You can then use this SWC to compile your main application by putting it in mxmlc's library path. -Why does compc expose all of the metadata switches and compiler switches when most don't apply? :-/ -Is there a way to create a new swc, and include classes from other swcs in the new one? I think you can include _all_ classes from another SWC by using -include-libraries but I'm not sure about including specific classes. Manish