We are using EclipseME 1.7.9 with Eclipse 3.3. I created a HelloMidlet and 
export antenna build files. WTK is  Java_ME_platform_SDK_3.0_EA, JDK: 1.6
 
In the windows command line,  run ant, I got the following error:
 
Buildfile: build.xml
-initialize:
     [echo] Initializing build environment...
-eclipseme-initialize:
     [echo] Initializing EclipseME Antenna build environment...
-eclipseme-build:
     [echo] Building source files...
 [wtkbuild] **************************************************************
 [wtkbuild] * Antenna 1.0.1 initialized for project "HelloMidlet"        *
 [wtkbuild] * Using Unknown Toolkit (CLDC-1.0; MIDP-1.0)                 *
 [wtkbuild] **************************************************************
 [wtkbuild] Compiling 1 source file to 
C:\workspace\HelloMidlet\dda894f3.tmp\tmpclasses
 [wtkbuild] Preverifying C:\workspace\HelloMidlet\dda894f3.tmp\tmpclasses
 [wtkbuild]
 [wtkbuild] ERROR: floating-point arguments should not appear
 [wtkbuild] Error preverifying class java.lang.String
 [wtkbuild] Error preferifying, log file not found:  
C:\workspace\HelloMidlet\build\classes\jarlog.txt

BUILD FAILED
 
----
# EclipseME Build Properties - DO NOT ALTER THIS FILE - Make changes in 
user-build.properties
#Tue Apr 28 14:31:50 CST 2009
run.trace.options=
path.build.output=${basedir}/deployed
flag.autoversion=false
path.build=${basedir}/build
wtk.midpapi=C\:\\Java_ME_platform_SDK_3.0_EA\\lib\\cldc_1.1.jar;C\:\\Java_ME_platform_SDK_3.0_EA\\lib\\jsr082_1.1.jar;C\:\\Java_ME_platform_SDK_3.0_EA\\lib\\jsr120_1.1.jar;C\:\\Java_ME_platform_SDK_3.0_EA\\lib\\jsr135_1.1.jar;C\:\\Java_ME_platform_SDK_3.0_EA\\lib\\jsr172_1.0.jar;C\:\\Java_ME_platform_SDK_3.0_EA\\lib\\jsr177_1.0.jar;C\:\\Java_ME_platform_SDK_3.0_EA\\lib\\jsr179_1.0.jar;C\:\\Java_ME_platform_SDK_3.0_EA\\lib\\jsr180_1.1.jar;C\:\\Java_ME_platform_SDK_3.0_EA\\lib\\jsr184_1.1.jar;C\:\\Java_ME_platform_SDK_3.0_EA\\lib\\jsr205_2.0.jar;C\:\\Java_ME_platform_SDK_3.0_EA\\lib\\jsr211_1.0.jar;C\:\\Java_ME_platform_SDK_3.0_EA\\lib\\jsr226_1.0.jar;C\:\\Java_ME_platform_SDK_3.0_EA\\lib\\jsr229_1.1.jar;C\:\\Java_ME_platform_SDK_3.0_EA\\lib\\jsr234_1.0.jar;C\:\\Java_ME_platform_SDK_3.0_EA\\lib\\jsr238_1.0.jar;C\:\\Java_ME_platform_SDK_3.0_EA\\lib\\jsr239_1.0.jar;C\:\\Java_ME_platform_SDK_3.0_EA\\lib\\jsr256_1.0.jar;C\:\\Java_ME_platform_SDK_3.0_EA\\lib\\
jsr280_1.0.jar;C\:\\Java_ME_platform_SDK_3.0_EA\\lib\\jsr75_1.0.jar;C\:\\Java_ME_platform_SDK_3.0_EA\\lib\\midp_2.1.jar
wtk.cldc.version=1.1
run.device.name=DefaultColorPhone
src.encoding=UTF-8
flag.preverify=true
project.root.HelloMidlet=${basedir}
midlet.name=HelloMidlet
path.antenna.jar=C\:\\apache-ant-1.7.0\\lib\\antenna-bin-1.1.0-beta.jar
wtk.midp.version=2.0
wtk.home=C\:\\Java_ME_platform_SDK_3.0_EA
path.build.classes=${basedir}/build/classes
 
----------
It seems WTK is not found, Using Unknown Toolkit (CLDC-1.0; MIDP-1.0) . but 
twk.home is set to the installed WTK. Could anyone please help me? This error 
has stopped me for going on. Thank you very much.
 
Dave


      
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Eclipseme-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/eclipseme-users

Reply via email to