I just ran the maven build both with that <loadConfig>/path/to/sdk/
framework/air-config.xml</loadConfig> option and without.  Then I took
a diff.  Surprisingly, there were a LOT of differences, mostly related
to RSLs.

Painstakingly, I went through every single difference and isolated
problem:

<swfVersion>11</swfVersion>

When I set it to 10 (what it had been), I get the missing content
problem.  Set it to 11 and everything works!

I'm not sure why I need version 11 or who is defaulting to 10
(flexmojos or AIRsdk)?

But I'm glad it works.

On Dec 5, 9:35 am, Marvin Froeder <[email protected]> wrote:
> LoadedConfig can and will be ignored w/o any kind of warning.
>
> Why don't you diff the config.xml?
>
> On Dec 5, 2:19 pm, gMale Another <[email protected]> wrote:
>
>
>
>
>
>
>
> > Quick thought: would it make sense for FlexMojos to include that load
> > option by default when someone specifies AIR packaging?
>
> > Even the barebones example doesn't work without it (at least with my
> > setup: Mac OS X Lion, SDK4.5.1.21328, Flexmojos 4.0-SNAPSHOT and/or
> > 4.0-RC2)
>
> > On Dec 5, 9:15 am, gMale Another <[email protected]> wrote:
>
> > > I found the problem!!!!
>
> > > I needed to load the air-config.xml file:
> > > <loadConfig>${flex.sdk}/frameworks/air-config.xml</loadConfig>
>
> > > This file can be found in the repository:
> > > ${path_to_m2_repo}/com/adobe/flex/framework/framework/4.5.1.21328/
> > > configs_zip/air-config.xml
>
> > > Without the loadConfig line, I get an empty window.
> > > With it, everything works, properly!
>
> > > Thanks VELO for all your help!
>
> > > Hopefully, others will find this info useful, as well.
>
> > > On Dec 4, 6:40 am, Marvin Froeder <[email protected]> wrote:
>
> > > > Air native makes EXE one windows, DMG on mac and DEB/RPM on linux...
> > > > You can't get EXE from linux server.
>
> > > > Maven+native executer is available as part of FME.
>
> > > > VELO
>
> > > > On Dec 3, 12:19 am, gMale Another <[email protected]> wrote:
>
> > > > > Thanks for the follow up.  Unfortunately, I still have the same basic
> > > > > error in the barebones example I posted above (as well as our more
> > > > > complicated Application).  Time pressures at work forced me to table
> > > > > this so I spent a couple days getting an entire ant build to work,
> > > > > instead.  That was an equal nightmare but at least it works.
>
> > > > > It looks like I'm going to have to come back to trying the flexmojos
> > > > > build because I need to produce an EXE from our continuous integration
> > > > > server on linux.  The ant version can't do that.
>
> > > > > Judging by your post 
> > > > > here:http://groups.google.com/group/flex-mojos/msg/d381d125367cb64d
> > > > > Am I right that 4.0-SNAPSHOT supports creating native compilers for
> > > > > other OS's?
>
> > > > > Turns out you are 100% right:
> > > > > when I run ADT with the flexmojos config.xml, I get the same error (no
> > > > > content in window).
> > > > > when I run ADT with the flex builder config.xml, it works.
>
> > > > > If I get some time this weekend, I'll try to make a diff of the two
> > > > > config.xml files (one from Flash Builder one from Flexmojos) and try
> > > > > to post it.  I can't, for the life of me, spot the problem.  However,
> > > > > grinding through the ant and command line build processes has made me
> > > > > knowledgeable enough that I think this will get solved, soon.  I
> > > > > hope!
>
> > > > > Either way, I really appreciate you taking the time to follow up.
> > > > > Thank you.
>
> > > > > On Dec 2, 8:17 am, Marvin Froeder <[email protected]> wrote:
>
> > > > > > On Nov 30, 7:52 pm, Marvin Froeder <[email protected]> wrote:
>
> > > > > > > On Nov 30, 3:58 pm, gMale Another <[email protected]> wrote:
>
> > > > > > > > There don't seem to be significant differences between the
> > > > > > > > configuration dumps.
>
> > > > > > > What are the differences?
>
> > > > > > I assume this got fixed?!

-- 
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos

http://flexmojos.sonatype.org/

Reply via email to