SootTutorial icon indicating copy to clipboard operation
SootTutorial copied to clipboard

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

Open nagkumar opened this issue 4 years ago • 3 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.

nagkumar avatar Jul 15 '20 07:07 nagkumar

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.

noidsirius avatar Jul 15 '20 14:07 noidsirius

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.

nagkumar avatar Jul 15 '20 14:07 nagkumar

Thanks for the info

noidsirius avatar Jul 15 '20 15:07 noidsirius