Search code examples
javasoot

"taskdef class JFlex.anttask.JFlexTask cannot be found" when building Soot


I'm trying to build soot.

I've downloaded the source code of JastAddExtensions using svn co https://svn.sable.mcgill.ca/abc/trunk/JastAddExtensions/, checked out the code of Soot using

  • git remote add soot https://github.com/Sable/soot.git
  • git pull soot develop.

Then I tried to build Soot using Ant and got following error message:

D:\dev\ro-01\soot\build.xml:102: The following error occurred while executing this line:
D:\dev\ro-01\JastAddExtensions\SootJastAddJ\build.xml:18: taskdef class JFlex.anttask.JFlexTask cannot be found
 using the classloader AntClassLoader[]

How can I fix this error? Where can I download a version of code of JastAddExtensions\SootJastAddJ, which is compatible with current version of Soot?


Solution

  • You will get help faster on the Soot mailing list. You do not need do build the JastAdd part of Soot. It's pre-built in the directory "generated".