开发者

Start a Maven J2Me project in Eclipse and run it

I have a problem setting up my maven j2me project th开发者_JAVA百科at I created in Eclipse.

I have the WTK 2.5.2 & SDK 3.0 installed and associated with Eclipse. I created a project using j2me-simple archetype. Copied the files from my previous J2Me project which was working!

but as I see, all the files that I know are missing. the Application descriptor, the J2Me packages lib that was there (Eclipse used to add these automatically) and lots of other stuff, what didn't I do?

Adam.


I created a project using j2me-simple archetype (...)

I'm not a J2ME expert but what you get when using the j2me-simple archetype is a maven project using the j2me-maven-plugin with default preconfigured settings that you can tweak in various ways (there are lots of commented part in the generated pom.xml).

but as I see, all the files that I know are missing. the Application descriptor, the J2Me packages lib that was there (Eclipse used to add these automatically) and lots of other stuff, what didn't I do?

I'm not sure but according to the documentation of the j2me-maven-plugin site and the content of the generated pom.xml:

  • the application descriptor: seems to be generated
  • the J2Me packages lib that was there: most dependencies are commented

In my opinion, the generated project is not that complex if you are used to Maven and the various J2ME concepts involved in the configuration. If you are not, it might not be that easy to use though as it seems to offer several configuration options and will thus require some configuration to match your needs (and flexibility generally induces some complexity in the configuration).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜