noidsirius / SootTutorial

A step-by-step tutorial for Soot (a Java static analysis framework)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support on windows without docker 'Desktop on windows with linux containers'

nagkumar opened this issue · comments

Instead of expecting containers approach, it would be nice to support direct Gradle on windows, this way number of steps required would be less.

Did you try following the setup steps without docker? Since I'm working on a Mac I didn't have a chance to run it on Windows; however, since the project is based on Gradle I suppose it should work on Windows as well.

There are 3 shell script files, which is breaking the gradle build on windows

  1. buildDemo.sh
  2. SootTutorial\demo\Android\sign.sh
  3. SootTutorial\demo\compile.sh

C:\SootTutorial>gradlew check
Downloading https://services.gradle.org/distributions/gradle-5.4.1-all.zip
..............................................................................................................................

Welcome to Gradle 5.4.1!

Here are the highlights of this release:

  • Run builds with JDK12
  • New API for Incremental Tasks
  • Updates to native projects, including Swift 5 support

For more details see https://docs.gradle.org/5.4.1/release-notes.html

Starting a Gradle Daemon (subsequent builds will be faster)

Task :buildDemoClass FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':buildDemoClass'.

A problem occurred starting process 'command './buildDemo.sh''

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 46s
1 actionable task: 1 executed

Did you try following the setup steps without docker? Since I'm working on a Mac I didn't have a chance to run it on Windows; however, since the project is based on Gradle I suppose it should work on Windows as well.

Thanks for the info