From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Lance Linder
Sent: Wednesday, August 09, 2006 3:33 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Schema files for mxmlc and compc config files
Thanks for the additional information Roger!
I didn’t know about the += feature for overlaying config files. This will be really useful as I end up using 90% of the same settings as the defaults with exception of my compc config files which tend to get a little more involved to create.
The append attribute is also a nice trick. Thanks!
The auto load feature is something new to me as well. Until now I have been loading my config files with the –load-config attribute.
These all some great tricks and will definitely make things a little more organized and a lot cleaner when working with the config files for me!
Lance
From:
flexcoders@yahoogro [mailto:ups.com flexcoders@yahoogro ] On Behalf Of Roger Gonzalezups.com
Sent: Wednesday, August 09, 2006 4:55 PM
To:flexcoders@yahoogro ups.com
Subject: RE: [flexcoders] Re: Schema files for mxmlc and compc config files
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
From:
flexcoders@yahoogro [mailto:ups.com flexcoders@ ] On Behalf Of Renaun Ericksonyahoogroups. com
Sent: Wednesday, August 09, 2006 2:20 PM
To:flexcoders@yahoogro ups.com
Subject: [flexcoders] Re: Schema files for mxmlc and compc config filesHave you tried:
mxmlc -help list
mxmlc -help advanced
mxmlc -help syntax
mxmlc -help aliases
mxmlc -help details
You can find alot of information from the executables themselves.
Renaun
--- In flexcoders@yahoogroups.com , "Lance Linder " <llinder@...> wrote:
>
> Anyone know where I could get schema files for the config files for both
> the mxmlc and compc compilers?
>
>
>
> As I do more and more build scripts for Flex2 apps these schema files
> sure would help!
>
>
>
> Thanks,
>
> Lance
>