We are using TPTP Analysis framework to analyse UML models and this is
working very well from the Launch UI. However we would like to have the
analysis performed as part of an automated build and so trying to work out
what options we have.

Is there a way an Ant task or something similar which would enable us to
invoke the analysis. Also, is there a way to then obtain the report in an
XML format similar to those produced by the Export feature of the Analysis
Result view.

A headless operation is desirable but not neccesary as we can probably
work around that if need be.