Hello Arne John,

Comments inline.


> I have some problems preverifying, and I found it hard to track down
> the problem because only the first line of the diagnostic output from
> the preverify command was included in the 'Problems' list in Eclipse.
> This meant that I could only read "Error preverifying class
> jgame.JGObject", but not "ERROR: finalize methods should not appear"
>
> This leads me to a second point: I have not been able to find any
> place in which I can alter the switches passed to the preverify
> command.  In this case I would like to be able to remove the
> -nofinalize switch.  Ideally, I suppose, it could be editable in
> the Devices configuration panes.
This can be done by clicking J2ME->Devicemanagement. There you easyly 
can duplicate a device settings and there you can adjust the 
preverify-command. Then create a skript which invoces the real 
preverify, so e.g.

$ cat preverify2
#!/bin/sh
echo "$@" >/tmp/p.log
`dirname $0`/preverify -nofinalize $@


Dont forget to chmod +x it.

>
> Alternatively (or additionally), it would be useful to be able to
> include a jar library in the package without it being preverified,
> as the library in case has already been preverified.
What's the problem if the files get preverified once more?
>
> Speaking of which, I never succeeded in including external
> class files (as a class folder on the Libraries pane of the
> Java Build Path property) not packaged in jar files.  I kept
> getting a preverification error during build:
>
>    /foo/bar/baz (Is a directory)
>
> where /foo/bar/baz was the class folder I set on the Libraries
> pane of the Java Build Path property.
I could reproduce this error. I created one project with only one class, 
then a second one with a midlet-suite. Then i copied the compiled 
class-file into a directory unter the Midlet-Suite and added that dir to 
the build-path. That works, but not building a package.

The Strange thing is... if I execute the preverify-Command on the 
command line, then this error does not appear. So maybe the enviroment 
plays a role.


>
> Version info:
>
> EclipseME 1.7.7
> Eclipse version 3.3.0, build id I20070625-1500
> Linux Fedora 8 (2.6.23.14-107) i386
> Sun WTK2.5.2
>
>
> -- Arne
> ____________________________________________________________
> Arne Glenstrup
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> ------------------------------------------------------------------------
>
> _______________________________________________
> Eclipseme-users mailing list
> Eclipseme-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/eclipseme-users
>   

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Eclipseme-users mailing list
Eclipseme-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/eclipseme-users

Reply via email to