JDE 鐨?鐗堟湰瀵瑰簲涓嶅悓鍨嬪彿鐨?BB 璁懼錛屾渶濂介夋嫨鍜岀洰鏍囪澶囧尮閰嶇増鏈細(xì)
* BlackBerry/4.1: for devices like the 8700, 7290 etc
* BlackBerry/4.2: for devices like the 8100, 8800 etc
* BlackBerry/4.3: for devices like the 8120, 8130 etc
2 鍦?build.xml 鎵懼埌涓嬮潰鐨勮錛?br />
<!-- the device for the test mode - you can define it on the command-line
using the -D switch, e.g. ant -Ddevice=Generic/midp2 emulator -->
<property name="device" value="Nokia/Series60E2FP3"/>
<property name="devices"
value="${device},Generic/jtwi,Generic/midp1,Generic/Midp2Cldc11,Nokia/Series40E3,Nokia/Series60E2,Nokia/Series60E3,Sony-Ericsson/JavaPlatform6"
/>
涔熷彲浠ョ紪璇戝拰榪愯涓璧峰嬀閫夈?鍜?灝遍掓鑷姩榪愯浜?jiǎn)銆?br />
搴旇浼?xì)鏈夐敊璇Q? BUILD FAILED
D:\Program Files\eclipse\Workspace\email\build.xml:88: Invalid CSS: The
CSS-attribute [expand-items] is not supported. Please check your
"polish.css" file(s).
榪欐槸璇達(dá)紝鏃犳硶鏀寔 polish.css 閲岀殑 expand-items銆?
淇敼 polish.css, 涓鑸湪resources鏂囦歡涓嬨傛壘鍒頒嬌鐢ㄤ簡(jiǎn)榪欎釜鍙傛暟鐨勮, 娉ㄩ噴鎺夎繖涓琛屻?br />
涓嶈兘鐢ㄥ弻鏂滄潌 // 娉ㄩ噴涓琛岋紝CSS 涓嶆敮鎸佽繖縐嶆敞閲婃牸寮忋傝鐢?/* */銆?br />
鐗堟湰涓嶅悓錛屽彲鑳借繕鏈夊埆鐨勯敊璇傝鐪熺湅闂鎶ュ憡錛屾壘鍒板紩鍙戦棶棰樼殑琛岋紝娉ㄩ噴鎺夎繖浜涜銆?br />
鍙兘榪樻湁榪欐牱鐨勯敊璇? [j2mepolish] assembling resources for device [Generic/midp1].
[j2mepolish] preprocessing for device [Generic/midp1].
[j2mepolish] compiling for device [Generic/midp1].
[j2mepolish-javac-Generic/midp1] Compiling 248 source files to
D:\Program
Files\eclipse\Workspace\fisheye\build\real\Generic\midp1\de_DE\classes
[javac] Internal J2ME Polish class: D:\Program
Files\eclipse\Workspace\fisheye\build\real\Generic\midp1\de_DE\source\de\enough\polish\ui\UiAccess.java:3116:
鎵句笉鍒扮鍙?br />
[javac] 絎﹀彿錛?綾?CustomItem
[javac] 浣嶇疆錛?杞歡鍖?javax.microedition.lcdui
[javac] public void setEventHandled( javax.microedition.lcdui.CustomItem item ) {
[javac] ^
[javac] 1 閿欒
[javac] An internal class of J2ME Polish could not be compiled.
Please try a clean rebuild by either calling "ant clean j2mepolish" or
by removing the working directory "D:\Program
Files\eclipse\Workspace\fisheye\build\real".
[javac] When an API-class was not found, you might need to define
where to find the device-APIs. Following classpath has been used:
[D:\Program Files\J2ME-Polish\import\midp-1.0.jar;D:\Program
Files\J2ME-Polish\import\cldc-1.0.jar;].
BUILD FAILED
D:\Program Files\eclipse\Workspace\fisheye\build.xml:90: Unable to
compile source code for device [Generic/midp1]: Compile failed; see the
compiler error output for details.
淇敼 build.xml
鍙互鎵懼埌榪欐牱鐨勪袱琛岋細(xì)
<!-- the device for the test mode - you can define it on the command-line
using the -D switch, e.g. ant -Ddevice=Generic/midp2 emulator -->
<property name="device" value="Nokia/Series60E2FP3"/>
<property name="devices"
value="${device},Generic/jtwi,Generic/midp1,Generic/Midp2Cldc11,Nokia/Series40E3,Nokia/Series60E2,Nokia/Series60E3,Sony-Ericsson/JavaPlatform6"
/>