Headless mode for XMage

is it possible to run XMage headless, like forge? (AI vs AI games in batch mode)
Or has anyone already hacked a setup for that in any IDE?
i´m looking into that myself currently, but since its a rather large project, better ask if someone has already something available...
Or has anyone already hacked a setup for that in any IDE?
i´m looking into that myself currently, but since its a rather large project, better ask if someone has already something available...