In theory it is possible to run the preverifier separately, although it 
isn't something that has generally been done.  To be honest, I've pretty 
much abandoned that code at this point.  It has been really difficult to 
get it right and having questionable output is worse than no output.  In 
the MTJ project, we have dropped the whole thing.  I'm not going to 
"support" this preverifier, but I will say that in your case you need to 
make sure not to try to preverify the API implementation classes.  You 
need to set them in the classpath, but not as something to be preverified.

Sampo Syrjänen wrote:
> Hi,
> I'm trying to include preverification as part of my antenna build
> process. I have a problem running the sun preverifier binary on my
> server so instead I am trying to use the preverifier of eclipse me
> project. I wrote a simple wrapper around ArchivePreverifier to run it
> from command line. It seems to run allright. Now I however have a
> problem with the preverification. Some classes report an
> java.lang.UnsatisfiedLinkError. For example:
>
> Exception in thread "main" java.lang.UnsatisfiedLinkError:
> javax.microedition.rms.RecordStore.getSlowingFactor()I
>         at javax.microedition.rms.RecordStore.getSlowingFactor(Native Method)
>         at javax.microedition.rms.RecordStore.<clinit>(RecordStore.java:2414)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:247)
>         at 
> eclipseme.preverifier.internal.PreverificationClassNode.getTypeClass(Unknown
> Source)
>         at 
> eclipseme.preverifier.internal.PreverificationClassNode.validateType(Unknown
> Source)
>         at 
> eclipseme.preverifier.internal.PreverifierMethodNode.isDisallowedType(Unknown
> Source)
>         at 
> eclipseme.preverifier.internal.PreverifierMethodNode.visitLocalVariable(Unknown
> Source)
> ...
>
> The problem is the same in the eclipse plugin.
>
> Could you tell me
> 1) if this thing I'm trying to do (running the preverifier of
> eclipseme in my build process) is feasible.
> 2) how to solve this problem. What is the cause?
>
> -Sampo Syrjänen
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Eclipseme-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/eclipseme-users
>   

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Eclipseme-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/eclipseme-users

Reply via email to