[prev in list] [next in list] [prev in thread] [next in thread]
List: soot-list
Subject: [Soot-list] Where does Soot process eclipse projects
From: tratch () cs ! mcgill ! ca (Tristan RATCHFORD)
Date: 2010-03-03 21:25:45
Message-ID: 4B8ED3D9.9050203 () cs ! mcgill ! ca
[Download RAW message or body]
Hi Eric,
The latter is exactly what I'm looking for.
Thanks!
Tristan
On 03/03/10 04:22 PM, Eric Bodden wrote:
> Hi Tristan.
>
> There are two options. Firstly, you can use the -process-dir<dir>
> option. This will process all files in<dir>. The second option is to
> use the Soot eclipse plugin. The plugin will set Soot's parameters
> programatically, from the project's classpath settings. You can find
> the code for the plugin here:
>
> https://svn.sable.mcgill.ca/soot/soot/trunk/eclipse/
>
> In particular, this class here takes care of creating the right
> classpath for Soot from the selected project:
> https://svn.sable.mcgill.ca/soot/soot/trunk/eclipse/ca.mcgill.sable.soot/src/ca/mcgill/sable/soot/launching/SootClasspath.java
>
> Hope that helps,
> Eric
>
> --
> Dr. Eric Bodden
> Software Technology Group, Technische Universit?t Darmstadt, Germany
> Tel: +49 6151 16-5478 Fax: +49 6151 16-5410
> Mailing Address: S2|02 A209, Hochschulstra?e 10, 64289 Darmstadt
>
>
>
> On 3 March 2010 21:41, Tristan RATCHFORD<tratch at cs.mcgill.ca> wrote:
>
> > Hello Soot List,
> >
> > I am trying to programmatically feed Java files from an Eclipse project into
> > Soot.
> > I know I can manually feed in individual files as follows:
> >
> > Options opt = Options.v();
> > opt.classes().add("package.MyFavouriteClass");
> >
> > However, I also know that it's possible to process an entire project through
> > Eclipse. I am just wondering where that functionality is located so I can
> > reuse it. I have already spent some time searching, but nothing has come up.
> >
> > Does any one know off the top of their head?
> >
> > Thank you,
> >
> > Tristan
> >
> > _______________________________________________
> > Soot-list mailing list
> > Soot-list at sable.mcgill.ca
> > http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
> >
> >
> >
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic