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

Cannot build large project under Windows #136

Open
NB13 opened this Issue Jun 24, 2014 · 2 comments

Comments

Projects
None yet
4 participants
@NB13

NB13 commented Jun 24, 2014

Due to limitations of command length in Windows I getting next error:

org.gradle.api.internal.project.ant.AntLoggingAdapter] [ant:java] : java.io.IOException: Cannot run program "C:\Program Files\Java\jdk1.8.0_05\jre\bin\java.exe" (in directory "C:\Users\Xelat.gradle\gradleFx\sdks\c1cf6cd41649e6a629464da8132b10622a37e3f2\frameworks"): CreateProcess error=206

If I understand situation correctly - it could be fixed with replacement of passing sources names via command line args to passing via xml file?

@matyasf

This comment has been minimized.

Contributor

matyasf commented Aug 31, 2014

Windows has a 256 character limit on the full path String (path+filename), this could be the cause of the issue. The solution would be not to use a hash string as a folder name but something shorter.

@cballesteros

This comment has been minimized.

cballesteros commented Nov 22, 2017

I have the same problem. Do you have any fix or workaround for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment