您好,我有 ant 构建到 javaSE jar 中的源代码,我们发布了它,同时 ant 还构建了 JavaME 项目的源代码。
我现在打开 netbeans 并让它为 JavaME 编译 jar,我想在 ant 中做最后一点,想知道它是否可能,如果可能的话如何?
最佳答案
当然可以,但是您必须添加预验证等任务。
看看
来自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.
关于ant - 如何使用 ant 构建 JavaME jar?我可以在 javaSE 中运行吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3749770/