The WTK emulator takes the arguments
[arguments] <application>
If an application is supplied, the MIDlet starts running immediately. This is useful if one wants to use the WTK to run tests as part of continuous integration; as described here
http://sourceforge.net/forum/forum.php?thread_id=1996507&forum_id=766993
Specifically I would like to see the WtkRun task take an application argument, e.g.
<wtkrun ... application="com.example.MyMidlet" />
I.e. the WtkRun task needs a setApplication(String application) method and the execute method would then append the application to the arguments passed to the emulator.