Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - davient

#1
General discussions / Re: Preveify Problems
24. November 2009, 07:19:12
Thanks for your time :)

A few comments on my setup in case they shed some more light.

My Setup is XP SP3, Sun JDK 1.60_17, J2ME SDK 3.0

I was trying to build from command line.

I have various IDEs installed including Eclipse and Netbeans.  I wonder if somehow they are conflicting.  I've cleared my PATH and CLASSPATH variables so that they only contain the required paths for development.  The wtk.home is set correctly, the build wont even begin if it is not. But still no further.

It always bails out in the wtkpackage step.  :(

I have tried setting wtkpackage  preverify=false, and then the build completes fine and I can manually preverify, but this seems a clunky workaround.  I'm guessing this will still be usable though?

Scouring the web shows occasional similar problems but no solutions, so I'm going to install a new development environment on a new partition and try from scratch. I'll post on the antenna mailing list if this doesn't help, and also keep this thread updated.

I do know J2SE as I stated, but I'm not particularly keen to develop in that field at present.  I particularly want to work on some features / bugs in the current release.  Particularly the StringColorItem (causes bugs on my girlfriends E65), text selection and maybe passage translation, though I know this may prove pretty hard. I'd quite like to try some modifications to the interface too to make it need less button pushes to translate or switch languages.  I'm using the Chinese one quite heavily on my N97 and the extra menu press bugs me where there is a free soft key space that could be used. :)

Fingers crossed the new environment works out :)
#2
General discussions / Re: Preveify Problems
23. November 2009, 09:16:10
A quick response :)

Always a good sign when using a forum. I look forward to working towards a solution.
#3
General discussions / Preveify Problems
23. November 2009, 05:11:40
I'm keen to get involved with the Dictionary For MIDs project. I am new to J2ME but an old hat at Java development.

I have checked out the SVN HEAD revision and tried to build it unsuccessfully. The preverify step always fails. I've checked that the jar tool is in my PATH and have set JAVA_HOME and ANT_HOME appropriately. I must be missing something obvious.

C:\Dev\dictionarymid\trunk\Build>ant
Buildfile: build.xml

compile_dfm_common:
[wtkbuild] **************************************************************
[wtkbuild] * Antenna 1.1.0 initialized for project "allwork"            *
[wtkbuild] * Using "Java ME SDK 3.0" (CLDC-1.1; MIDP-2.0)               *
[wtkbuild] **************************************************************

compile_dfm_java_se:

compile_dg:

build_dg:

create_application_property_file:
[propertyfile] Updating property file: C:\Dev\dictionarymid\trunk\Build\DictionaryGeneration\Application.properties
      [jar] Building jar: C:\Dev\dictionarymid\trunk\Build\DictionaryGeneration\DictionaryGeneration.jar

compile_dfm_java_me:

compile_jc:

build_jc:

create_application_property_file:
[propertyfile] Updating property file: C:\Dev\dictionarymid\trunk\Build\JarCreator\Application.properties
      [jar] Building jar: C:\Dev\dictionarymid\trunk\Build\JarCreator\JarCreator.jar

compile_bfg:

build_bfg:

create_application_property_file:
[propertyfile] Updating property file: C:\Dev\dictionarymid\trunk\Build\BitmapFontGenerator\Application.properties
      [jar] Building jar: C:\Dev\dictionarymid\trunk\Build\BitmapFontGenerator\fontgenerator.jar

compile_lg:

build_lg:

create_application_property_file:
[propertyfile] Updating property file: C:\Dev\dictionarymid\trunk\Build\LanguageUIGeneration\Application.properties
      [jar] Building jar: C:\Dev\dictionarymid\trunk\Build\LanguageUIGeneration\LanguageUIGeneration.jar

build_dfm_java_se:

create_application_property_file:
[propertyfile] Updating property file: C:\Dev\dictionarymid\trunk\Build\JavaSE\Application.properties
      [jar] Building jar: C:\Dev\dictionarymid\trunk\Build\JavaSE\DictionaryForMIDsPC.jar

create_dfm_java_me_jadfile_and_manifest:
   [wtkjad] Creating JAD file C:\Dev\dictionarymid\trunk\Build\JavaME\DictionaryForMIDs.jad

build_dfm_java_me:

create_application_property_file:
[propertyfile] Updating property file: C:\Dev\dictionarymid\trunk\Build\JavaME\Application.properties
[wtkpackage] Building jar: C:\Dev\dictionarymid\trunk\Build\JavaME\DictionaryForMIDs.jar
[wtkpackage] Preverifying C:\Dev\dictionarymid\trunk\Build\JavaME\DictionaryForMIDs.jar
[wtkpackage] Executable: c:\dev\java\Java_ME_platform_SDK_3.0\bin\preverify
[wtkpackage] Arguments : -classpath c:\dev\java\Java_ME_platform_SDK_3.0\lib\cldc_1.1.jar;c:\dev\java\Java_ME_platform_SDK_3.0\lib\jsr75_1.0.jar;c:\dev\java\Java_ME_platform_SDK_3.0\lib\midp_2.0.jar -d C:\Dev\dictionarymid\trunk\Build\95d3ce71.tmp C:\Dev\dictionarymid\trunk\Build\JavaME\DictionaryForMIDs.jar
[wtkpackage] Error preferifying, log file not found:  C:\Dev\dictionarymid\trunk\Build\95d3ce71.tmp\jarlog.txt

BUILD FAILED
Preverification failed (result=-1072365564)

Total time: 13 seconds


However if I try the preverify step alone it works...?

C:\Dev\dictionarymid\trunk\Build>preverify -classpath c:\dev\java\Java_ME_platform_SDK_3.0\lib\cldc_1.1.jar;c:\dev\java\Java_ME_platform_SDK_3.0\lib\jsr75_1.0.jar;c:\dev\java\Java_ME_platform_SDK_3.0\lib\midp_2.0.jar -d C:\Dev\dictionarymid\trunk\Build\95d3ce71.tmp C:\Dev\dictionarymid\trunk\Build\JavaME\DictionaryForMIDs.jar

C:\Dev\dictionarymid\trunk\Build>dir C:\Dev\dictionarymid\trunk\Build\95d3ce71.tmp
Volume in drive C has no label.
Volume Serial Number is 7C91-C31E

Directory of C:\Dev\dictionarymid\trunk\Build\95d3ce71.tmp

23/11/2009  12:05    <DIR>          .
23/11/2009  12:05    <DIR>          ..
23/11/2009  12:05           438,335 DictionaryForMIDs.jar
               1 File(s)        438,335 bytes
               2 Dir(s)   6,518,575,104 bytes free


Hope that someone can shed some light :)