• Antenna


    Antenna项目提供了一组Ant Task用于开发基于J2ME Wireless Toolkit的J2ME/MIDP应用程序。Antenna提供的功能包括编译、打包、部署、混淆、运行MIDlets和操作JAD文件,也能够把 JAR文件制作成PalmOS PRC文件。

    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. Deployment is supported via a deployment task and a corresponding HTTP servlet for Over-the-Air (OTA) provisioning. A small preprocessor allows to generate different variants of a MIDlet from a single source.

    Of course you can also do much of that with the J2ME Wireless Toolkit or other Java IDEs, but using an Ant script results in a defined and reproducable build process that is independent of a particular programming environment. See this article for an excellent introduction to Ant as well as reasons for using it.

    The Antenna tasks are mostly built around functionality provided by the Wireless Toolkit and thus require this software. If you want to make use of the obfuscation task, you should have one (or both) of the free RetroGuard and ProGuard obfuscators on your harddisk. Naturally, Ant itself is also needed, where version 1.5.0 seems to be the minimum required version as reported by users. Antenna works very well in Ant-supportive IDEs like Eclipse or JEdit.

    Here is a list of tasks contained in the package:

    Task Purpose
    WtkJad A task that is able to create new JAD files from scratch or update existing ones.
    WtkBuild An extension to Ant's standard javac task that sets the appropriate bootclasspath allows for preverification.
    WtkPackage An extension to Ant's standard jar task that handles the JAD file correctly and is able to include complete libraries into the resulting JAR file. It also allows for preverification and obfuscation of the generated file.
    WtkMakePrc A task to convert an existing JAR/JAD into a PalmOS PRC file that can be used with MIDP for Palm OS.
    WtkRun A task to run a MIDlet suite contained in a JAR/JAD file in the Wireless Toolkit's emulator.
    WtkRapc A task that invokes the BlackBerry rapc compiler, and generates BlackBerry .cod files.
    WtkPreverify A standalone task for preverifying a set of classes. This task is normally not needed, since the build and packaging tasks include the same functionality.
    WtkObfuscate A standalone task for obfuscating a JAR file. This task is normally not needed, since the packaging task includes the same functionality.
    WtkSmartLink A task for removing unnecessary classes from a JAR file.
    WtkPreprocess A simple Java preprocessor, similar to the ones known from C and other languages, that allows for conditional compilation and including source files.
    WtkDeploy A deployment task that allows to put a MIDlet on a remote Web server for later download.
    WtkSign A task for signing midlets

    点击次数   官方主页【官方主页】   下载地址【下载地址】

    网友留言/评论

    我要留言/评论

    相关开源项目

    microEWT:microEWT是一个基于事件驱动的J2ME用户界面类库。其架构类似于AWT,Swing,SWT这些桌面UI框架。组件展示与用户界面逻辑相分离,便于皮肤更换。
    EclipseME:EclipseME是帮助你开发J2ME MIDlet的Eclipse插件。 EclipseME帮助你轻松的把无线工具包整合到Eclipse开发环境中,使你不必再担心J2ME开发有何特殊需求,而可以把所有精力集中在应用开发上。
    SMSLib:SMSLib是一个API库用于通过GSM Modem收发SMS短信息。提供Java和.Net两个版本。
    LogicMail:LogicMail是一个J2ME E-Mail客户端支持IMAP和POP协议。设计运行于RIM黑莓(BlackBerry)手机上。
    Remuco:Remuco能够在带有Bluetooth或WiFi功能的移动设备上无线远程控制Linux媒体播放器,浏览播放器当前播放列表,调整音量等。支持索爱:K750i、M600i、W800i、W850i。摩托罗拉:V3X。
    J2ME VNC:J2ME VNC是一个能够在手机上运行的开源VNC客户端。支持HTTP Tunnel和SSH。
    anyRemote:anyRemote这个手机客户端能通过蓝牙,红外线,Wi-Fi等连接方式远程控制Linux上的服务。支持大部分常见的手机如:Nokia,SonyEricsson,Motorola等。
    log4j2me:log4j2me是用于J2ME 平台上的log4j。当把你的代码移到J2SE/J2EE平台上时,不需要对代码进行改变,只需把log4j2me.jar替换掉log4j jar文件。与log4j所不同的是不能在j2me环境中使用log4j.properties文件来配置log4j,但可以从 JAD文件读取配置。还有其它在J2ME平台中的不同之处,log4j2me都提供了相应的解决方案。
    Fire 2.0 j2me:Fire是一个轻量级,可更换皮肤/外观用于j2me MIDP2应用程序的GUI引擎。此外它提供XHTML显示支持。
    Micro Window Toolkit:Micro Window Toolkit(MWT)是一个用于开发J2ME用户界面(UI)的工具包。它具有友好,强大,快速,开源等特性。因为它的"灵感"来自 AWT,Swing和SWT。可以使用bitmap fonts等来自定义组件。它专门为嵌入式开发而设计和优化。基于LGPL发布。