开发者

How do I build the JavaME jars with ant? and can i do it while running in javaSE?

Hi I have source code that ant builds into a javaSE jar, and we ship that, ant also at the same time builds the source for a JavaME project.

which I currently then open netbeans and let it compile the jars for JavaME, i'd like to do this last bit in ant and wondered if its possible and 开发者_Go百科if so how?


Sure, but you'll have to add tasks for pre-verification etc.

Have a look at

  • Antenna An Ant-to-End Solution For Wireless Java
  • User's Guide for J2ME Ant Tasks

From the webpage of Antenna:

Antenna provides a set of Ant tasks suitable for developing wireless Java applications targeted at the Mobile Information Device Profile (MIDP). With Antenna, you can compile, preverify, package, obfuscate, and run your MIDP applications (aka MIDlets), manipulate Java Application Descriptor (JAD) files, as well as convert JAR files to PRC files designed to run on the MIDP for PalmOS implementations from Sun and IBM.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜