Menu

#22 Provide a means in the WtkRun task to run a MIDlet

open
nobody
None
5
2008-04-07
2008-04-07
CA Meijer
No

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.

Discussion