[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [soot] compiling multiple class files
Hi,
I remember there is an option called --process-path:
java soot.Main --process-path PATH ...
The usage suggests it processes all classes inside PATH when Soot runs in
single-file mode, but I'm not sure whether it does what you want it to do.
What do you think?
Cheers,
Felix
On Thu, 6 Sep 2001, Feng QIAN wrote:
> hi,
>
> Maybe the easiest way to do that is to write a script for processing
> classes one by one.
>
> e,g,. create a script file called 'sootdir':
>
> #!/bin/bash
>
> DIR=$1
> shift
>
> cd $DIR
>
> for KlassFile in `echo *.class`
> do
> echo $KlassFile > tmp.name
> Klass=`eval cut -f1 -d. tmp.name`
> java soot.Main $* $Klass
> done
>
> so you can use command 'sootdir tmp'.
>
> hope this helpful,
>
> feng
>