Plugin documentation

Goals available:

GoalDescription
j2me:run

You can start the application in the WTK emulator. Antenna library is used for this task.

j2me:sign

The WtkSign task allows to sign a jad/jar pair. In particular, it will sign the jar and add the certificate to the jad. Antenna library is used for this task.

j2me:preverifyThe preverify Mojo runs the WTK preverify command from the given J2ME SDK.

Preverification takes place in the phase process-classes, that means after Successful compilation. The MoJo takes the classes to preverify from ${project.build.outputDirectory} and places the preverified classes into the same directory. Therefore no change to the packaging phase is necessary.

Antenna library is used for this task.
j2me:preprocessThe j2me:preprocess helper to optimize generated classes.
j2me:obfuscate

The Obfuscate task provides a stand-alone obfuscation task

j2me:jad

The WtkJad task allows to create new JAD files from scratch. In particular, it is able to update the MIDlet-Jar-Size keys automatically. Antenna library is used for this task.

j2me:packageThe j2me:package task is an wrapper for Jar task that handles JAD files correctly. It also allows for obfuscation, preverification and signing of the generated file. Preverification can be done without WTK using ProGuard. Antenna library is used to execute WTK tasks.