Has anyone successfully got FlexUnit to work with AIR in headless mode on 64-bit Linux server?
The problem seems to be that the AIR runtime does not want to install on 64-bit Ubuntu server (9.10). I have tried various ways of trying to get it to install, but no luck.
I was able to get FlexUnit to headlessly run my AIR unit tests on a 32-bit Ubuntu server 9.10 VMware image, but I had to install a lot of stuff, maybe there is an easier way.
Here are my rough notes if it helps anyone:
Ubunto 9.10 Server 32-bit VMWare image
http://www.thoughtpolice.co.uk/vmware/howto/1-minute-guide.html#ubuntu8.04
sudo aptitude update # refresh apt's cache
sudo aptitude upgrade # run the upgrade
sudo apt-get install xserver-xorg xserver-xorg-core
sudo apt-get install openbox
sudo apt-get install vnc4server
sudo apt-get install subversion
sudo apt-get install ant #(gets java jre)
sudo apt-get install sun-java6-jdk
sudo apt-get install ssh
in windows download adobeair-2.0.0.12510.deb from prerelease.adobe.com, WinSCP to ubuntu
sudo apt-get -f install (no package)
http://community.spiceworks.com/how_to/show/156
sudo apt-get install xorg gnome-core gdm gnome-applets gnome-system-tools gnome-utils ubuntu-artwork compiz-gnome firefox sysv-rc-conf
sudo dpkg -i adobeair-2.0.0.12510.deb
See http://ubuntuforums.org/showthread.php?t=1305659&page=2 to make it not start ui desktop on system startup
edit /etc/init/gdm.conf:
**
start on (runlevel [3]
and filesystem
and started hal
and tty-device-added KERNEL=tty7
and (graphics-device-added or stopped udevtrigger))
stop on runlevel [0126]
**
sudo shutdown -h now (make sure ui does not come up on restart)
Now, use this to start/stop desktop: sudo initctl start/stop gdm
run vncserver once to set up password
can now run FlexUnit headlessly