@Ruprict - Sorry for taking so long to get back with you. I believe
you're running into the issue that I encountered when trying to run
Fluint AIRTestRunner headlessly via a CI server. From what I was able
to research and find, the Flash Player and AIR runtime need a windowed
environment to execute correctly. When you manually execute the Ant
script, it's because you're executing the Ant script in the context of
the user you're logged in as that has the windowing environment
available, that is succeeds. When you run CruiseControl it's most
likely using a JEE server under the hood that is setup to run
headlessly. I believe the stall in your build occurs because AIR
can't find a windowing environment to actually execute.
I was only able to get our build working headlessly on Linux using
xvfb-run with X-Windows as have most people from what I've heard. I
did have some luck running the CI server as LOCAL_ACCOUNT on WindowsXP
but I found it was too hard getting my build to work without a
specific user running the CI server (I used Hudson). I'm not sure if
Windows Server 2008 has more options available when setting the rights
for services, but even when I tried to grant desktop access to my CI
server's service in Windows it failed for me. You may want to
consider leaving a user logged in, running the CI server as
LOCAL_ACOUNT, and then when you need to use the box accessing it via
VNC or RDP; I played with this ideas initially but gave up on it, so
it may work but I can't promise anything.
I have yet to hear a success story of using any Flex testing tool on a
CI server running on Windows. Until Adobe can release a headless
Flash Player or AIR runtime, I can't give you much help, sorry.
Supposedly Icabod is being used by Google and does this but it's not
available publicly yet.
-Brian