Search the web
Sign In
New User? Sign Up
flexcoders · RIA Development with Adobe Flex
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Break in the datagrid   Topic List   < Prev Topic  |  Next Topic >
Reply | Forward  | 
RE: [flexcoders] Re: Schema files for mxmlc and compc config files

Glad it will help.
 
Note that "append" and "+=" work with any "list" config var.  Most of the time when you set a config var, it clears out the value set at a lower level...
 
defaults
system properties
flex-config.xml
(other config files)
command line
 
but if you use the "append" variants, it first grabs the existing value and then appends the new value that you set.  Very handy for library-path, external-library-path, source-path, load-config, etc.
 
This obviously doesn't mean anything for a single-value var (i.e. how do you append to "debug"?) but it will work on anything marked as "repeatable", as its equivilent to doing mxmlc -library-path=foo -library-path=bar.
 
Good luck,
 
-rg


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@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Roger Gonzalez
Sent: Wednesday, August 09, 2006 4:55 PM
To: flexcoders@yahoogroups.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@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Renaun Erickson
Sent: Wednesday, August 09, 2006 2:20 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Schema files for mxmlc and compc config files

Have 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
>



Wed Aug 9, 2006 10:58 pm

spamspambake...
Offline Offline
Send Email Send Email

Forward
 | 
Expand Messages Author Sort by Date

Hey Flexers Would anyone know how to insert a break (similar to <br> in html) in the datagrid using an xml file? For example, if I were to have this xml data...
s_hernandez01
Offline Send Email
Aug 9, 2006
6:45 pm

Try DataGridColumn "width" and "wordWrap" attributes and make sure DataGrid has variable row height Hope this helps Anatole...
Anatole Tartakovsky
anatolet
Offline Send Email
Aug 9, 2006
7:14 pm

Thanks Anatole, I didn't see that WordWrap there in the properties box...worked out great. Thanks again. ... DataGrid...
s_hernandez01
Offline Send Email
Aug 9, 2006
8:29 pm

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...
Lance Linder
dtorngraang
Offline Send Email
Aug 9, 2006
9:00 pm

Have 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...
Renaun Erickson
kaibabsowats
Offline Send Email
Aug 9, 2006
9:25 pm

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...
Roger Gonzalez
spamspambake...
Offline Send Email
Aug 9, 2006
9:51 pm

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%...
Lance Linder
dtorngraang
Offline Send Email
Aug 9, 2006
10:37 pm

Glad it will help. Note that "append" and "+=" work with any "list" config var. Most of the time when you set a config var, it clears out the value set at a ...
Roger Gonzalez
spamspambake...
Offline Send Email
Aug 9, 2006
10:56 pm

Thanks for the info. Yes the help documentation is really good. What I am looking for though is auto complete features in my XML editor. I use the oXygen...
Lance Linder
dtorngraang
Offline Send Email
Aug 9, 2006
10:32 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help