Emulators

  1. Sun Emulator

Sun Emulator

Sun Emulator is a <momeunit> emulator implementation that runs Sun WTK emulator tool. It is contained in ant-momeunit.jar file. It can be configured via device, classpath and classpathref attribute and <property> nested tags of <emulator> like any other emulator.

Sun Emulator supports following properties:

Name

Description

Value

device

Device to use for emulating.

Required

debug

Signifies use of -Xdebug command line option.

No

runjdwp

Defines value of -Xrunjdwp: command line option and implies use of debug property.

Required

verbose

Defines value of -Xverbose command line option.

Not required

heapsize

Defines value of -Xheapsize: command line option.

Required

ota.install

Defines value of -Xjam:install= command line option.

Required

ota.run

Defines value of -Xjam:run= command line option.

Required

ota.remove

Defines value of -Xjam:remove= command line option.

Required

ota.transient

Defines value of -Xjam:transient= command line option.

Required

ota

Shortcut to ota.transient property.

Required

Note: Unknown properties are treated like runtime properties. They are supplied to emulator like java properties i.e. -D<name>=<value>. WTK 2.2 understands only com.sun.midp.io.http.proxy=<proxy host>:<proxy port> property.