문제

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!

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top