文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > 高等教育 > 理学 > [Polish]帮助文档
侵权投诉

[Polish]帮助文档

有关polish的帮助文档

创建过程

介绍

创建过程为部署工作做好了准备,并从源代码层次优化应用程序。这一过程由位于工程根目录的文件build.xml负责。这个文件是一个标准的Ant文件,用来控制J2ME?Polish相关任务。你可以在附录找到一个简短的关于Ant的介绍。J2ME?Polish相关任务被分成的三部分“info”, “deviceRequirements” 和 “build”。创建过程中以下步骤将会执行。

–––––––

选择支持设备 资源整合

预处理源代码,为设备优化 编译应用程序 混淆编译后的代码 预审

创建JAR和JAD文件

为每一个选择的设备

J2ME Polish任务定义

你需要在文件build.xml中定义J2ME?Polish任务:

<taskdef name="j2mepolish" classname="de.enough.polish.ant.PolishTask" classpath="import/enough-j2mepolish-build.jar:import/jdom.jar:import/proguard.jar"/>

现在你可以“j2mepolish”这个任务名称的控制下,使用J2ME?Polish任务了。你需要定义Ant属性“wtk.home”,来告知Wireless Toolkit的路径:

<property name="wtk.home" value="C:\WTK2.1" />

在没有Wireless Toolkit的系统上(例如Mac OS X),你可以依旧可以使用J2ME Polish,只需要定义<build>元素的preverify属性来代替“wkt.home”属性。

例子

下面的示例,显示了一个完整的build.xml文件:

<!-- This file controls the build process. --><!-- The most important target is the j2mepolish-target, --><!-- which controls for what devices the application should --><!-- be created and so on. --><!-- --><!-- Important: when you have no Wireless Toolkit installed --><!-- you need to define the "preverify"-attribute --><!-- of the <build>-element of the J2ME Polish task. --><!-- --><!-- When you call Ant from the command-line, you can --><!-- call "ant test j2mepolish" to skip the obfuscation --><!-- and to build the example for fewer handsets. --><!-- The default target builds and obfuscates the example. --><!-- --><!-- The full documentation can be found at -->

第1页

你可能喜欢

热门文档

相关文档

  • polish

    Polish 2页 免费 Polish 1页 免费 Polish Culture 17页 10财富值 Polish 暂无评价 12页 免费 [Polish]帮助文档 32页 1财富值 Dry polish 12页 免费 English...

  • Polish

    Polish 1页 免费 Polish Culture 17页 10财富值 polish 2页 1财富值 [Polish]帮助文档 32页 1财富值 Dry polish 12页 免费 English Polish 1页 免费 [...

  • Carlton Polish Case

    Polish 2页 免费 Polish 1页 免费 polish 2页 1财富值 Polish Culture 17页 10财富值 Dry polish 12页 免费 [Polish]帮助文档 32页 1财富值 English ...

  • Polish slurry

    polish 2页 1财富值 Polish Culture 17页 10财富值 Dry polish 12页 免费 [Polish]帮助文档 32页 1财富值 English Polish 1页 免费 Polish october 4页 10...

  • Dry polish

    暂无评价0人阅读0次下载举报文档Dry polishing This document may not be...Damage from grinding and after the removal process #2000 ground Dry Polish ...

  • BioNail Polish Remover

    Polish 2页 免费 Polish 1页 免费 polish 2页 1财富值 Polish Culture 17页 10财富值 Dry polish 12页 免费 [Polish]帮助文档 32页 1财富值 English ...

  • electro-polish

    相关文档推荐 Polish 2页 免费 Polish 1页 免费 polish 2页 1下载券 Polish Culture 17页 4下载券 E-polish 暂无评价 5页 免费 Dry polish 12页 免费 [...

  • Polish

    Polish 1页 免费 Polish Culture 17页 10财富值 polish 2页 1财富值 [Polish]帮助文档 32页 1财富值 Dry polish 12页 免费 English Polish 1页 免费 [...

  • Polish

    Polish 1页 免费 Polish Culture 17页 10财富值 polish 2页 1财富值 [Polish]帮助文档 32页 1财富值 Dry polish 12页 免费 English Polish 1页 免费 [...

  • Polish Culture

    暂无评价0人阅读0次下载举报文档 大学英语文化分册Polish Culture By—邱文婷 Fryderyk Franciszek Chopin (1810~1849) Polish ...

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email