j2me-maven-plugin with WTK 3.0

109 views
Skip to first unread message

maffeis

unread,
May 26, 2009, 5:03:02 AM5/26/09
to pyx4me-users
Hi

I just upgraded my WTK installation from 2.5.2 to 3.0. But now my j2me-
maven-plugin build
is failing with the error below. Is j2me-maven-plugin compatible with
WTK
3.0? Can the wtk.midpapi
property be set in the POM? THANKS!

Silvano

[proguard]
**************************************************************
[proguard] * Antenna 1.0.1 initialized for project "viperats-client-
lcdui"
*
[proguard] * Using Unknown Toolkit (CLDC-1.0;
MIDP-1.0) *
[proguard]
**************************************************************
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Toolkit type unknown. Please set property wtk.midpapi.
[INFO]
------------------------------------------------------------------------
[INFO] Trace
Toolkit type unknown. Please set property wtk.midpapi.
at de.pleumann.antenna.misc.Utility.getMidpApi(Utility.java:
727)
at
com.pyx4me.maven.j2me.ProGuardMojo.executeProGuard(ProGuardMojo.java:
190)
at
com.pyx4me.maven.j2me.PackageMojo.executePackage(PackageMojo.java:311
)
at com.pyx4me.maven.j2me.PackageMojo.execute(PackageMojo.java:
239)

Vlad Skarzhevskyy

unread,
May 26, 2009, 1:13:25 PM5/26/09
to pyx4me...@googlegroups.com
I think you can't use Antenna http://antenna.sourceforge.net/ with new WTK.  It is not yet updated for this.

Just use alternative plugin configuration with proguard and dependencies libraries. As described in examples.
--
Vlad
Reply all
Reply to author
Forward
0 new messages