IntelliJ 3419, J2ME and build jars

Hi,

I'm just starting with J2ME and so I'm not sure if this is an IntelliJ bug, a misconfiguration of my project, or a misunderstanding on my part.

I have a project that is for a simple J2ME app. When I run "build jars" it doesn't put anything in the jar other than a manifest. In addition to this, I've specified my own manifest, and IntelliJ seems to ignore this, and instead puts in a very simple manifest that looks suspiciously like one that should be used for a J2SE app instead. The .jar file generated also has the wrong jar size.

I'm pretty sure this is a bug but figured I'd check here first.

cheers
dim

0
Avatar
Permanently deleted user

Dmitri Colebatch wrote:

I have a project that is for a simple J2ME app. When I run "build
jars" it doesn't put anything in the jar other than a manifest. In


You mean the "Build jars..." option from the "Build" menu? That one's a
generic jar-making tool.

Take a look at the "Mobile build settings" tab of the "Modules settings"
page. There you will find entries for the MIDlet jad/jar files generated
during a 'normal' build/make. You can also specify your own manifest
there (although I'm not sure why you would want to - a manifest is
generated for you during build).

More entries that end up in the jad file (and the manifest) are on the
"Mobile Module Settings" tab of the "Module Settings" page.

The whole j2me build system is not completely bugfree yet, but works
well enough. I use it on a daily basis without too much hassle.

Regards,
Edwin

0

请先登录再写评论。