⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 listing9-03_build.xml_debug

📁 着几乎所有智能机厂商都将有自己配套的App Store,甚至并非智能手机制造商的三星也有意加入本次混战. 当然,我们也不能忘记苹果最先从iTunes中得到的灵感,从而带来了应用程序商店,一个正确
💻 XML_DEBUG
字号:
// use the <debug> element to control the logging framework:

<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"
	/>

	<!-- enable the test mode -->
	<target name="test">
		<property name="test" value="true" />
		<property name="dir.work" location="build/test" />
	</target>

	<!-- specify default settings -->
	<target name="init">
		<property name="test" value="false" />
		<property name="dir.work" location="build/real" />
	</target>

	<!-- start the build with J2ME Polish -->
	<target name="j2mepolish" depends="init" >
		<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="true"
				workDir="${dir.work}"
			>
			<midlet class="com.apress.roadrunner.Roadrunner" />
			<debug showLogOnError="true"
				verbose="false"
				level="error"		
				if="test"
			>
				<filter
					package="com.apress.roadrunner"
					level="info"
				/>
				<filter
					class="com.apress.roadrunner.Roadrunner"
					level="debug"
				/>
			</debug>
		</build>
		<emulator />
		</j2mepolish>
	</target>
</project>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -