[Soot-list] Setting the soot class path

Patrick Lam plam at cs.mcgill.ca
Fri Jul 9 09:57:21 EDT 2010


On 07/09/10 09:30, Ankur Sinha wrote:
> hi,
>
> What would be the easiest way to set a soot-class-path. At the moment,
> I'm using this:
>
> -soot-class-path<classpath>.
>
> This is tedious. Also, the soot-class-path option doesn't take
> evironment variables IIRC (~ etc don't work). Wild cards don't work
> either. If I have a bunch of jars in a folder, I still need to specify
> them individually.
>
> I'm running soot on a lot of sources, and I'd like to be able to dump
> all the required jars in a dir and say -soot-class-path<path to
> dir>/*jar. It's annoying to sit and let soot give you messages like
>
> "couldn't find class: org.apache.log4j.Priority (is your soot-class-path
> set properly?)" one after another. :(

It certainly is annoying. ~ would work if you ran Soot from a prompt, 
but not from Eclipse.

I think it would be great if Soot supported wildcards. If only someone 
would implement this feature... I'd be happy to commit it.

pat


More information about the Soot-list mailing list