zivlhoo / smali

Automatically exported from code.google.com/p/smali
0 stars 0 forks source link

2.0.1 Doesn't build on windows (source code date 24 October 2013) #189

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What seems to be the problem?
C:\smali>gradlew.bat build
:util:compileJava UP-TO-DATE
:util:processResources UP-TO-DATE
:util:classes UP-TO-DATE
:util:jar UP-TO-DATE
:dexlib2:compileJava UP-TO-DATE
:dexlib2:processResources UP-TO-DATE
:dexlib2:classes UP-TO-DATE
:dexlib2:jar UP-TO-DATE
:baksmali:compileJava UP-TO-DATE
:baksmali:processResources UP-TO-DATE
:baksmali:classes UP-TO-DATE
:baksmali:jar FAILED

FAILURE: Build failed with an exception.

* Where:
Build file 'C:\smali\baksmali\build.gradle' line: 59

* What went wrong:
Execution failed for task ':baksmali:jar'.
> Could not launch ln: java.io.IOException: Cannot run program "ln": CreateProce
ss error=2, The system cannot find the file specified

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.

BUILD FAILED

Total time: 51.993 secs

What is the exact smali/baksmali command that you ran?
gradlew.bat build

What version of smali/baksmali are you using? What rom are you working
from?
Latest as of 24.10.2013 - I downloaded the zipball source from github

Please provide any additional information below: error messages, symptoms,
etc.

Original issue reported on code.google.com by jon15.fi...@gmail.com on 24 Oct 2013 at 9:28

GoogleCodeExporter commented 9 years ago
Thanks for the report. It looks like ant's symlink task isn't supported on 
windows, unsurprisingly. I'll need to guard it with a platform check

Original comment by jesusfreke@jesusfreke.com on 24 Oct 2013 at 9:45

GoogleCodeExporter commented 9 years ago
This is fixed

Original comment by jesusfreke@jesusfreke.com on 11 Nov 2013 at 6:34