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

Unable to run dslGenerateXML task in Windows #115

Open
ghost opened this issue Jun 19, 2019 · 3 comments
Open

Unable to run dslGenerateXML task in Windows #115

ghost opened this issue Jun 19, 2019 · 3 comments
Labels

Comments

@ghost
Copy link

ghost commented Jun 19, 2019

Hello,
I ran into an issue while running the following command on Windows 10:
gradlew clean dslGenerateXml

I'm running into following error: "CreateProcess error=206, The filename or extension is too long".

While this task is working fine in RHEL OS. I think it seems to be an issue with classpath and windows limit. I tried various ways to mitigate this (uber/pathing jar etc.,), but no success.

I'm using Gradle 5.4.1. Can you please help address this issue.

TIA.

@vudzkostek
Copy link

One of our team members had the same issue and issue was related to wrong gradle version used. He used "gradlew task" instead of "./gradlew task", one takes gradle from project config, and one takes it from system environments. I don't know if this s a solution but worth to try

@mnonnenmacher
Copy link
Contributor

@stridertheranger : Did @vudzkostek's tip help you fixing this issue? Or is it still there?

@ghost
Copy link
Author

ghost commented Sep 4, 2019

I recently tried with the latest version of Gradle 5.6 and it seems that the issue still persists when invoked via windows. I believe the issue is related to executing generating dsl via "gradlew clean dslGenerateXml" command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants