From: Rushabh D. <ra...@pe...> - 2007-08-07 00:47:38
|
Note that the two arguments are microemulator arguments and *not* java vm arguments. Thus, in my case, my eclipse run stuff, has the following as *program* arguments: --usesystemclassloader --propertiesjad Foo.jad com.bar.foo.FooMIDlet HTH, -R -----Original Message----- From: mic...@li... [mailto:mic...@li...] On Behalf Of Marcel Ruff Sent: Sunday, August 05, 2007 2:31 AM To: mic...@li... Subject: Re: [Microemulator-users] Using jad with eclipseme 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=3Dtrue -D--usesystemclasspath=3D1 -D--usesystemclasspath=3D -D--usesystemclasspath -D--usejadproperties=3D/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: > =20 >> 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? >> =20 >> =20 > Thanks. > Unfortunately my identical midlet does not start with 2.0.2 (but does=20 > 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=20 > fine with WTK and microemu 2.0.1), > > thanks > Marcel > =20 >> -Rushabh >> >> -----Original Message----- >> From: mic...@li... >> [mailto:mic...@li...] On Behalf >> =20 > Of > =20 >> 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 >> >> =20 >> =20 > > > =20 --=20 Marcel Ruff http://www.xmlBlaster.org ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Microemulator-users mailing list Mic...@li... https://lists.sourceforge.net/lists/listinfo/microemulator-users |