Wednesday, February 25, 2009

winqual windbg

Just got the newest Debugging Tools for Windows...http://www.microsoft.com/whdc/DevTools/Debugging/default.mspx

here's the script we typically use to analyze winqual cab files:

.sympath SRV*c:\temp\symbols*http://msdl.microsoft.com/download/symbols
.exepath+ C:\Windows\Microsoft.NET\Framework\v2.0.50727;c:\temp\symbols
.loadby sos mscorwks
.reload
!analyze -v

Friday, February 20, 2009

AIR + ANT + out of memory

I kept running into an OutOfMemoryError issue during compile of my AIR app using ANT.

[mxmlc] java.lang.OutOfMemoryError

the fix was simple: set fork="true" and maxmemory="512m" in my mxmlc
<mxmlc compiler.debug="false"
file="${MAIN_SOURCE_FILE}"
output="${dist}/${APP_ROOT_FILE}"
configname="air"
fork="true"
maxmemory="512m"

...


more info can be found here: Flexcoverhints

continuous integration

I'd highly recommend any developer using source control to check into continuous integration - it's a big time saver

http://cruisecontrol.sourceforge.net/

Thursday, February 19, 2009

air application icons

I ran into the same problem many seem to have: my AIR application icons seems to be throwing a compile error when I try to export release build of my project.

Error creating AIR file: 303: ERROR, [...filename...]

This is a known bug... still open apparently ( in a few places ) when you try to export from Eclipse

http://bugs.adobe.com/jira/browse/FLEXDOCS-427
http://bugs.adobe.com/jira/browse/FB-11712

My only working solution is to place the icon files directly in the src folder rather than in images/assets/icon.png

refreshdenver.org

i'm really needing to do a bit more geek posting....
here's a shoutout to refreshdenver for a sweet event last night!

http://refreshdenver.org