Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nagkumar opened this issue Jul 15, 2020 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@nagkumar
Copy link

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 nagkumar changed the title Support windows without containers Support windows without containers and that to linux containers Jul 15, 2020
@noidsirius
Copy link
Owner

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 noidsirius added the question Further information is requested label Jul 15, 2020
@nagkumar nagkumar changed the title Support windows without containers and that to linux containers Support of windows without docker desktop on windows without linux containers Jul 15, 2020
@nagkumar nagkumar changed the title Support of windows without docker desktop on windows without linux containers Support of windows without docker desktop on windows with linux containers Jul 15, 2020
@nagkumar
Copy link
Author

nagkumar commented Jul 15, 2020

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 nagkumar changed the title Support of windows without docker desktop on windows with linux containers Support on windows without docker 'Desktop on windows with linux containers' Jul 15, 2020
@noidsirius noidsirius added bug Something isn't working and removed question Further information is requested labels Jul 15, 2020
@noidsirius noidsirius self-assigned this Jul 15, 2020
@noidsirius
Copy link
Owner

Thanks for the info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants