Question

Is it possible to run the ADL without a GUI so that I can run FlexUnit tests during a nightly build? Right now, when I execute our test runner on our server (Ubuntu 9.04) it fails with the output: "Gtk-WARNING **: cannot open display:".

Many thanks for any suggestions!

Was it helpful?

Solution

Yes.

We use hudson with xvnc plugin and vncserver installed on the server.

Some instructions to follow can be found at:- http://docs.flexunit.org/index.php?title=Continuous_Integration_Support

A more specific example is at :- http://www.brianlegros.com/blog/2009/12/20/using-xvnc-to-create-headless-ci-builds-for-flex-and-air-applications/

Hope you come right. It's a bit of a pain to get working.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top