Vlad,
When I execute a midlet from command line, I use the following:
C:\siemens\SMTK\bin\emulator.exe -classpath "c:\testes\classes;" -Xdevice:XPTO -Xdescriptor:"c:\testes\MyApplication.jad". If I try to put the EMMA options in anywhere, the emulator not recognize it(obviously). Is there a possibility to integrate EMMA with J2ME? Waht about J2MEUnit, is there a possibility to use EMMA with J2MEUnit too?
Reagards,
Luiz Bentes
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Have you tried the offline instrumentation mode ("emma instr" or <instr>)? It's like a second compiler for your classes and you can use it before trying to run your J2ME application in an emulator.
This way you don't need to worry about how to run emmarun (which certainly expect a J2SE environment).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I need to use EMMA with J2ME Code, mainly in J2MEUnit. Is there an way?
Regards,
Luiz Bentes
Luiz,
I am going to have to ask you for more information. What have you tried already and what problems have you run into?
Vlad,
When I execute a midlet from command line, I use the following:
C:\siemens\SMTK\bin\emulator.exe -classpath "c:\testes\classes;" -Xdevice:XPTO -Xdescriptor:"c:\testes\MyApplication.jad". If I try to put the EMMA options in anywhere, the emulator not recognize it(obviously). Is there a possibility to integrate EMMA with J2ME? Waht about J2MEUnit, is there a possibility to use EMMA with J2MEUnit too?
Reagards,
Luiz Bentes
Have you tried the offline instrumentation mode ("emma instr" or <instr>)? It's like a second compiler for your classes and you can use it before trying to run your J2ME application in an emulator.
This way you don't need to worry about how to run emmarun (which certainly expect a J2SE environment).