tag:robotlegs.tenderapp.com,2009-10-18:/discussions/problems/727-flexair-hangup-when-built-as-releaseRobotlegs: Discussion 2013-01-31T17:10:57Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/243422922013-01-29T13:54:39Z2013-01-29T13:54:39ZFlex+Air hangup when built as release<div><p>Hi Camille,<br>
I’ve just tried your command in an older project: rl 1
– source code (don’t know the version) , air 3.2, Flex
4.6.<br>
It did exactly what you’ve described as a realese build.<br>
I added the infamous :</p>
<p>-keep-as3-metadata+=Inject</p>
<p>-keep-as3-metadata+=PostConstruct</p>
<p>to the compiler arguments and after that it worked (showing all
3 alerts) as a release too.</p>
<p>But you’re not compiling against the source, are you?</p>
<p>Ondina</p></div>Ondina D.F.tag:robotlegs.tenderapp.com,2009-10-18:Comment/243422922013-01-29T14:12:32Z2013-01-29T14:12:32ZFlex+Air hangup when built as release<div><p><em>grumble</em></p>
<p>Thanks Ondina, I just figured it out, a minute before your
answer.</p>
<p>OMG, I can't believe I fell for the -keep-as3-metadata compiler
argument trap!<br>
I've done this 1000's of times ... :)</p></div>creynderstag:robotlegs.tenderapp.com,2009-10-18:Comment/243422922013-01-29T14:32:22Z2013-01-29T14:32:22ZFlex+Air hangup when built as release<div><p>Hehe, I knew you’d say that. It seems it’s an
insidious trap, since even the best programmers, like yourself, can
fall into it :) I wouldn’t worry, if I were you. I wish I had
your skills.</p>
<p>Cheers,<br>
Ondina</p></div>Ondina D.F.