tag:robotlegs.tenderapp.com,2009-10-18:/discussions/problems/22-export-release-build-in-flash-builderRobotlegs: Discussion 2018-10-18T16:35:07Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/7411512009-12-18T10:35:13Z2009-12-18T10:35:13ZExport Release Build in Flash Builder<div><p>Sounds like Flash Builder doesn't adhere to the
"-keep-as3-metadata" settings of SWCs when exporting release
builds.</p>
<p>Can you try adding the arguments as specified in the
"Installation" section of SwiftSuspenders' readme?<br>
<a href=
"http://github.com/tschneidereit/SwiftSuspenders/blob/master/README.textile">
http://github.com/tschneidereit/SwiftSuspenders/blob/master/README....</a></p></div>Till Schneidereittag:robotlegs.tenderapp.com,2009-10-18:Comment/7411512009-12-18T16:21:01Z2009-12-18T16:21:01ZExport Release Build in Flash Builder<div><p>Hmmm.. that's pretty crazy! I've exported plenty of release
builds with Robotlegs and SwiftSuspenders. I just tried with an app
published from FB4 build 262635 and everything worked properly.
What version of Flash Builder are you running?</p></div>Shaun Smithtag:robotlegs.tenderapp.com,2009-10-18:Comment/7411512009-12-20T23:14:42Z2009-12-20T23:17:48ZExport Release Build in Flash Builder<div><p>OK.</p>
<p>So as per Till's instructions, adding the following to the
compiler settings in Flash Builder 253292 seemed to get things
working:</p>
<pre>
<code>-keep-as3-metadata+=Inject
-keep-as3-metadata+=PostConstruct</code>
</pre>
<p>I'll download the latest version of Flash Builder (which I
thought I was running, but clearly not) and see how that goes.</p>
<p>edit:</p>
<p>Though, Shaun perhaps the version numbers are different because
you're on a Mac. Investigating.</p></div>Tim Oxleytag:robotlegs.tenderapp.com,2009-10-18:Comment/7411512009-12-21T03:21:49Z2009-12-21T03:23:55ZExport Release Build in Flash Builder<div><p>I am running the latest version of Flash Builder available
from:</p>
<p><a href=
"http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_flashbuilder4">
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_flashbuil...</a></p>
<pre>
<code>flashbuider4_b2_win_100509.exe</code>
</pre>
<p>So turns out, I am running a version of Swift Suspenders
compiled from source and I did, in fact, forget to add the
<strong>-keep-as3-metadata</strong> for the compile settings on
this project. What's surprising is that even though I don't have
the compile settings set up, it still works for Run / Debug.</p>
<p>Now I WAS using a provided Swift Suspenders .swc before using
one I compiled myself, so perhaps even though I've cleaned the
whole eclipse workspace, for some reason the metadata info has
stayed with the compiler, and only surfaces as a problem once I do
a release build. Or something.<br>
Weird huh.</p></div>Tim Oxley