[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fw: Problem using Eclipse-Plugin



Hey there,

 I encountered some problems using the soot-plugin with a selfwritten
main-class.
So i wrote this small Testclass MeineMain.java and tried to get the plugin
use it:

public class MeineMain {

   public static void main(String[] args) {
     System.out.println("its working...");
     soot.Main.main(args);
   }
}

 I'm using the following plugin.xml

 <runtime>
       <library name="soot-plugin.jar"/>
       <library name="sootclasses-2.1.0.jar"/>
       <library name="myclasses/"/>
       <library name="soot/classes/"/>
       <library name="jasminclasses-sable-1.2.jar"/>
       <library name="polyglot-1.1.0.jar"/>
</runtime>

 So i added 'myclasses/' to the folder for mainclasses to be searched for
an
tried it. After that i got this strange errormessage:

 Starting ...MeineMain --h --d C:\[...] --keep-line-number
LiveVariablesAnalysis.foo
java.lang.IllegalAccessException: Class
 ca.mcgill.sable.soot.launching.SootThread can not access a member of class
 MeineMain with modifiers "public static"
 at sun.reflect.Reflection.ensureMemberAccess(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at ca.mcgill.sable.soot.launching.SootThread.run(SootThread.java:94)


 I'm using Eclipse 2.1.3 and donwloaded the plugin just a few minutes ago.
So any guess, what to do?

 Thanks for help.