wala / WALA

T.J. Watson Libraries for Analysis, with frontends for Java, Android, and JavaScript, and may common static program analyses
http://github.com/wala/WALA
Eclipse Public License 2.0
743 stars 221 forks source link

How to use an older version of WALA? #1407

Open bupt01 opened 1 month ago

bupt01 commented 1 month ago

Hello,

For my project, I need to use version 1.3.4 of WALA, but unfortunately, I encountered two issues:

  1. When I tried to add the relevant dependencies in Maven, I found out that this version is not available in the central repository.
  2. I attempted to build with Gradle using version 1.34, but it was not possible to build with this version. After checking out the corresponding tag, it showed as follows:

1717894256461 However, there are no documents inside to guide the build.I entered one of the subfolders to compile, but it always fails.What should I do? Thank you!

msridhar commented 1 month ago

@bupt01 can I ask why you need to use this older version? Maybe we can help you use a recent version instead. Unfortunately building 1.3.4 may be pretty tricky. My guess is you'd need to import that version into Eclipse to get it to build, as that version might even predate our use of Maven.

bupt01 commented 1 month ago

Thank you for your response. I am now considering using WALA for analyzing Java 1.8 source code. Ideally, WALA should also be able to run on Java 1.8. Could you recommend a suitable version?

msridhar commented 1 month ago

If you need to run on a JDK 8 JVM, release 1.5.9 was the last to support that. The latest version of WALA should be able to analyze Java 1.8 source code, but this relies on Eclipse libraries that require a minimum of JDK 17 to run.