Menu

J2ME and EMMA

2004-06-03
2004-06-04
  • Nobody/Anonymous

    I need to use EMMA with J2ME Code, mainly in J2MEUnit. Is there an way?

    Regards,
    Luiz Bentes

     
    • Vlad Roubtsov

      Vlad Roubtsov - 2004-06-03

      Luiz,

      I am going to have to ask you for more information. What have you tried already and what problems have you run into?

       
    • Nobody/Anonymous

      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

       
    • Vlad Roubtsov

      Vlad Roubtsov - 2004-06-04

      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).

       

Log in to post a comment.