mr4 without emulator..
I'm looking at phoneME after a year. I previously was fiddling around with MR2 to automate smoke testing for J2ME midlets. I've a few questions as I haven't understood MR4 completely..
(using phoneME feature MR4 on windows XP SP3, JDK 1.6, cyg4me)
1. I can no longer use the runMidlet.exe (in \midp\bin\i386\) to run a midlet. autotest.bat, autotestm.bat, installMidlet.bat, usertest.bat, etc.. all of which use runMidlet.exe throw out the error msg:
"[CRIT] [core ] Illegal argument to KVM: ..."
If I just execute 'runMidlet.exe' from the command line it says.. "Could not read environment variable SUBLIME_PROC_ID". I wonder if there's way to invoke this binary by setting up some command-line parameters / environment variables / etc..
(I assume emulator.exe does the same and calls runMidlet behind the scene).
2. Is there a way to build the MR4 implementation so that does not go through the emulator.exe and we can directly use runMidlet.exe? OKAY.. I might be missing something really crucial here, but I'm novice to this field.
So can anyone tell me what is the job of the emulator.exe here? Specifically because we don't have its source and to execute a midlet, it has to go through this emulator.exe binary.
3. If I stick to emulator.exe method to invoke the midlets, is there a way to specify additional jars via commandline to be included in the classpath.. eg. runMidlet in MR2 supported -classpathext parameter.
Any help is appreciated..