Markus Sinner wrote:
> did you generate a new project, or did you convert an old project to 
> J2ME? I cannot reproduce this error, on newly created ones the 
> preverifier is automatically addes.

I used a J2ME Project, and changed it to support my needs. This 
included, beside other changes: change of the source and resource 
folder, adding a pom.xml for maven2 (it's similar to ant's build.xml), etc.

Somehow (I can't remember, or even imagine how), the project file 
changed during this restructuring process. (I did not change the 
project's nature).


However, it works now.
Many Thanks to you, Markus.

> 
> Greetings,
> Markus
> 
> Andreas Böhme schrieb:
>> I found the error now.
>> There were some lines missing in the .project file, which are obviously 
>> necessary for pre-verification.
>>
>> Other people with the same problem, take a look at this snippet of my 
>> .project file:
>>
>> <buildSpec>
>>      <buildCommand>
>>              <name>org.eclipse.jdt.core.javabuilder</name>
>>              <arguments/>
>>      </buildCommand>
>>
>>      <!-- Pre-Verify the MIDlet after compiling its sources -->
>>      <buildCommand>
>>              <name>eclipseme.core.preverifier</name>
>>              <arguments/>
>>      </buildCommand>
>> </buildSpec>
>>
>>
>>
>> Andreas Böhme wrote:
>>> Maven2 (http://maven.apache.org/) is a build-tool, like Ant.
>>>
>>>> go to the Project settings (rightklick on the Project name) and go to
>>>> "Java Build Path". There you can adjust the root-path of your sources to
>>>> point to <Project>/src/main/java. I think then your Jar would be
>>>> deployed containting the right directory-structure.
>>> The odd thing is: I did. It's the first I did.
>>>
>>> Unfortunately I don't know how EclipseME works internally, so I have no 
>>> idea what the error could be. Are there any configuration files of 
>>> EclipseME (other than eclipse-natives)?
>>>
>>>
>>>> Then you have to add the external dependency to the build-path, so
>>>> Maven2 can be procompiled and verified. Is Maven2 a J2ME-library? If
>>>> not, you cannot use it as-is, you must build it using J2ME-Profiles.
>>>>
>>>> Greetings,
>>>> Markus
>>>>
>>>> Andreas Böhme schrieb:
>>>>> Hi All!
>>>>>
>>>>> I've integrated Maven2 (pyx4me's plugin) with my project, and 
>>>>> therefore changed some paths (e.g. src -> src/main/java).
>>>>>
>>>>> After that integration EclipseME won't emulate my application any 
>>>>> more (which worked very well before):
>>>>> Running with storage root SonyEricsson_M600_Emu
>>>>> java.lang.ClassNotFoundException: 
>>>>> at/researchstudio/sat/mgbl/AheadOfTheGame
>>>>> at com.sun.midp.midlet.MIDletState.createMIDlet(+14)
>>>>> at com.sun.midp.midlet.Scheduler.schedule(+52)
>>>>> at com.sun.midp.main.Main.runLocalClass(+28)
>>>>> at com.sun.midp.main.Main.main(+116)
>>>>> Execution completed.
>>>>>
>>>>>
>>>>> It seemed like a classpath issue to me and so I added -cp "[..]" and 
>>>>> got an error which seems to result from non-existing preverification:
>>>>> Error verifying method at/researchstudio/sat/mgbl/AheadOfTheGame 
>>>>> <init>()V
>>>>> Approximate bytecode offset 12: Inconsistent or missing stackmap at 
>>>>> target
>>>>>
>>>>>
>>>>> So, do EclipseME and Maven2 not work together at all?
>>>>> Is there a way to easily start just the emulator / use the EclipseME 
>>>>> emulation facility?
>>>>>
>>>>>
>>>>> Thanks in advance,
>>>>> Andreas
>>>>>
>>>>> ------------------------------------------------------------------------- 
>>>>>
>>>>> This SF.net email is sponsored by DB2 Express
>>>>> Download DB2 Express C - the FREE version of DB2 express and take
>>>>> control of your XML. No limits. Just data. Click to get it now.
>>>>> http://sourceforge.net/powerbar/db2/
>>>>> _______________________________________________
>>>>> Eclipseme-users mailing list
>>>>> [EMAIL PROTECTED]
>>>>> https://lists.sourceforge.net/lists/listinfo/eclipseme-users
>>>> -- 
>>>>
>>>> *********************************
>>>> [EMAIL PROTECTED]
>>>> http://www.psitronic.de
>>>>
>>>> psitronic IT-Solutions
>>>> Markus Sinner
>>>> W-Rathenau-Str. 14 - 68642 Bürstadt
>>>> Tel.: (+49)6206 / 963513
>>>> Fax: (+49)6206 / 963514
>>>
>>
> 


-- 
ARC Seibersdorf research GmbH
Research Studios Austria
smart.agent.technologies Studio
Hasnerstraße 123, 1160 Wien, Austria
T. +43 1 904 21 65 - 321
F. +43 1 904 21 65 - 399
<[EMAIL PROTECTED]>
http://www.arcs.ac.at - http://sat.researchstudio.at
HG Wien – FN 115980i – ATU14703506


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Eclipseme-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/eclipseme-users

Reply via email to