From: Marcel R. <mr...@ma...> - 2007-08-05 09:30:53
|
Hmm, no success here. This works fine (with SNAPSHOT): java -cp ~/microemulator/microemulator.jar org.microemu.app.Main xy.jad But when started in the debugger (eclipseme), i get the same error which i have reported. This is my eclipse 'VM arguments' settings: -D--usesystemclasspath=true -D--usesystemclasspath=1 -D--usesystemclasspath= -D--usesystemclasspath -D--usejadproperties=/data/xy.jad I think it is a bug in the current SNAPSHOT? Thanks Marcel Rushabh Doshi wrote: > Ah. Funny classpath issues :) > > --usesystemclasspath > > Note that this will not catch certain classpath issues that the new > stuff will, but then again, you're (eventually) testing on a real phone, > right :) > > -R > > -----Original Message----- > From: mic...@li... > [mailto:mic...@li...] On Behalf Of > Marcel Ruff > Sent: Saturday, August 04, 2007 9:39 AM > To: mic...@li... > Subject: Re: [Microemulator-users] Using jad with eclipseme > > Rushabh Doshi wrote: > >> Enter >> --usejadproperties YourJad.jad >> >> This works in 2.0.2 snapshot builds. I'm not sure if it was backported >> to 2.0.1. Bartek? >> >> > Thanks. > Unfortunately my identical midlet does not start with 2.0.2 (but does > with 2.0.1). > > It complains: > ava.lang.NoClassDefFoundError: org/xmlBlaster/I_Properties > at java.lang.Class.getDeclaredConstructors0(Native Method) > at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357) > at java.lang.Class.getConstructor0(Class.java:2671) > at java.lang.Class.newInstance0(Class.java:321) > at java.lang.Class.newInstance(Class.java:303) > at org.microemu.app.Common.startMidlet(Common.java:351) > at org.microemu.app.Common.initMIDlet(Common.java:870) > at org.microemu.app.Main.main(Main.java:705) > > The I_Properties resides in a dependend project in eclipseme (this runs > fine with WTK and microemu 2.0.1), > > thanks > Marcel > >> -Rushabh >> >> -----Original Message----- >> From: mic...@li... >> [mailto:mic...@li...] On Behalf >> > Of > >> Marcel Ruff >> Sent: Friday, August 03, 2007 8:51 AM >> To: mic...@li... >> Subject: [Microemulator-users] Using jad with eclipseme >> >> Hi again, >> >> i have an eclipseme project, this works fine to debug with microemu. >> But when i add custom properties in the Jad file, >> these don't make it into the midlet during debugging. >> >> When debugging with WTK emulators these jad attributes are nicely >> passed to the emulator. >> >> Is there any way to pass the attributes with microemu? >> >> Thanks >> Marcel >> >> >> > > > -- Marcel Ruff http://www.xmlBlaster.org |