Hi Graham, sorry for the delay in responding.
If you are using the ant xslt task, or the Saxon AntTransform task derived from it, then the equivalent to the -T option on the command line is (in theory) to use a nested element
<attribute name=http://saxon.sf.net/feature/traceListenerClass"
I haven't actually tried it.

From: Heath, Graham [mailto:graham.heath@ts.fujitsu.com]
Sent: 08 December 2009 17:09
To: saxon-help@lists.sourceforge.net
Subject: [saxon] saxon9-ant.jar options

Hi guys, I am running the saxon9-ant.jar to invoke saxon from my ant script. The problem is that I wanted to activate the trace option and so far I have not stumbled on the right invocation.
Any help gratefully received.
Ciao Graham