?? listing7-07_build.xml_buildingroadrunner
字號:
<!-- building the MIDlet of Listing 7-6 -->
<project name="roadrunner" default="j2mepolish">
<!-- define the installation folder of J2ME Polish -->
<property name="polish.home" location="C:\programs\J2ME-Polish" />
<!-- define the installation folder of the WTK -->
<property name="wtk.home" location="C:\WTK22" />
<!-- define the J2ME Polish task, classpath on one line please -->
<taskdef name="j2mepolish"
classname="de.enough.polish.ant.PolishTask"
classpath="${polish.home}/import/enough-j2mepolish-build.jar:${polish.home}/import/jdom.jar"/>
<!-- start the build with J2ME Polish -->
<target name="j2mepolish">
<j2mepolish>
<info
license="GPL"
name="Roadrunner"
vendorName="A reader."
version="0.0.1"
jarName="${polish.vendor}-${polish.name}-roadrunner.jar"
/>
<deviceRequirements>
<requirement name="Identifier" value="Generic/midp1" />
</deviceRequirements>
<build
usePolishGui="false"
>
<midlet class="com.apress.roadrunner.Roadrunner" />
</build>
<emulator />
</j2mepolish>
</target>
<target name="clean">
<delete dir="build" />
<delete dir="dist" />
</target>
<target name="cleanbuild" depends="clean, j2mepolish">
</target>
</project>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -