[Eclipseme-users] Built-in preverifier from command line
Brought to you by:
setera
From: S. S. <shs...@gm...> - 2008-10-09 13:50:30
|
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 |