Pyx4ME Hack

It’s late tonight but I gotta get this posted. I’m still trying to get a good dev cycle with the Maven Pyx4ME maven plug in and IntelliJ Idea. I’m running on Parallels on my Mac. Here’s an extra tag I added to the project generated from the pyx4ME archetype:

                  <property environment="env"/>
                  <echo message="Running WTK out of ${env.WTK_HOME}"/>
                  <taskdef resource=""/>
                  <wtkrun jadfile="target/${project.artifactId}-${project.version}-me.jad"/>
                <copy overwrite="true" file="${}/${}-me.jar" tofile="${}/site/mymidlet.jar" />
                <copy overwrite="true" file="${}/${}-me.jad" tofile="${}/site/mymidlet.jad" />
                <replace value="mymidlet.jar" token="${}-me.jar" dir="${}/site">
                  <include name="mymidlet.jad"></include>

This lets me run my project using WTK assuming WTK_HOME is been set as a system env var. More stuff later.


Add yours →

  1. Is it possible to debug a Maven J2me application in IntelliJ ?

  2. Yes It is possible. Debugging is a matter of instrumenting the JVM so in actuality you can debug any Java process from IntelliJ. It all depends on how you launch the app. I have been working on a midlet plugin to address OTA uploads to Antenna’s provisioning servlet and running the emulator (micro emulator but eventually WTK and Blackberry). I’ve been so busy fighting with the compiler I’ve neglected my site. Rest assured I will return soon with the low down on Debugging J2ME apps built from Maven in IntelliJ, how to properly command line compile with Rapc cross platform from Ant or Maven, and if I get lucky on device debugging with Blackberry. It’s gonna be a minute before I get it all posted..

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Get every new post delivered to your Inbox.

Join 312 other followers

%d bloggers like this: