|
You can also use "mxmlc -dump-config=mycfg.xml -otheroptions..." to build
a starter config file. In general, you'll then want to edit it down to the
bare minimum settings you need.
I somehow overlooked to have "dump-config" enabled on compc (will put
this into a dot release) but the config files are pretty much identical (+/- the
compc-specific values that you can find out about via compc -help as Renaun says
below).
You'll then generally want to use "mxmlc -load-config+=mycfg.xml" to
compile. Note the "+=", which says "don't nuke the existing default value
of load-config (which points to the flex-config.xml file) just overlay these
settings on top".
Inside your config file, you can do the same sort of operation as += via
the (undocumented?) "append" attribute:
<library-path append="true">
<path-element>mylib.swc</path-element>
</library-path>
Of course, you can also use these config files by naming them
myapp-config.xml (where myapp is the name of your mxml/as application) and have
them automatically loaded:
Given
myapp-config.xml
myapp.mxml
mxmlc myapp.mxml
will automatically load myapp-config.xml as if it were
-load-config+=myapp-config.xml
Enjoy,
-rg __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
__,_._,___ |
- RE: [flexcoders] Re: Schema files for mxmlc and compc confi... Roger Gonzalez
- RE: [flexcoders] Re: Schema files for mxmlc and compc ... Lance Linder
- RE: [flexcoders] Re: Schema files for mxmlc and co... Roger Gonzalez
- RE: [flexcoders] Re: Schema files for mxmlc and compc ... Lance Linder

