开发者

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

开发者 https://www.devze.com 2023-01-17 06:51 出处:网络
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.

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

精彩评论

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