Re: [J2me-device-db-general] Getting started.
Brought to you by:
s_szczygiel,
space2
From: Sebastian S. <seb...@op...> - 2006-08-04 10:49:36
|
Hello, Install an older WTK version (wtk21 or even older will work) and set it in build.properties The problem is that the build-system currently needs wtk-home for preverify process. I'll try to change the build and make it wtk-independent. I only don't know if it's allowed to include the preverify tool as part of our distribution. Best regards, Sebastian _____ From: j2m...@li... [mailto:j2m...@li...] On Behalf Of James Brook Sent: Donnerstag, 3. August 2006 22:54 To: j2m...@li... Subject: Re: [J2me-device-db-general] Getting started. Hello All, I've download the windows version of the J2ME Device DB tools and have followed the examples. By default the demo doesn't work for me since I'm using JDK 1.5 and you have to modify the antenna build target which I have done: From: <wtkbuild srcdir="${dist.dir}/src" bootclasspath="${project.libs}" destdir="${dist.dir}/classes" preverify="false"/> to <wtkbuild srcdir="${dist.dir}/src" bootclasspath="${project.libs}" destdir="${dist.dir}/classes" preverify="false" source="1.3" target="1.1"/> However now I'm getting a different error: [echo] Creating JAR ... [wtkpackage] Building jar: C:\development\microcode\mariobros\dist\jadjar\nokia\ s40\MarioBros_v1-0-0_en.jar [wtkpackage] Updating JAD file C:\development\microcode\mariobros\dist\jadjar\no kia\s40\MarioBros_v1-0-0_en.jad [echo] Preverification ... [wtkpreverify] Preverifying C:\development\microcode\mariobros\dist\jadjar\nokia \s40\MarioBros_v1-0-0_en.jar [wtkpreverify] ERROR: floating-point arguments should not appear [wtkpreverify] Error preverifying class java.lang.String BUILD FAILED C:\development\microcode\mariobros\build\build.xml:8: The following error occurr ed while executing this line: C:\development\j2me-device-db\tools\microcode\build.xml:50: The following error occurred while executing this line: C:\development\j2me-device-db\tools\microcode\build.xml:59: The following error occurred while executing this line: C:\development\j2me-device-db\tools\microcode\build.xml:105: Preverification fai led (result=1) Any ideas? Cheers, James Brook |