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

Fix classpath jar workaround for Windows #7391

Merged
merged 1 commit into from
Apr 2, 2018

Conversation

andreysaksonov
Copy link
Contributor

Classpath is already too long to be handled on windows, so classpath should be replaced with classpath jar (btw, renamed task and jar to better reflect what it does). In current version of jhipster, classpath jar is added to already-too-long-classpath, so workaround doesn't work. Btw, this workaround is not needed on Windows 10, if "Long Paths" feature is enabled (see https://www.howtogeek.com/266621/how-to-make-windows-10-accept-file-paths-over-260-characters/), basically LongPathsEnabled should be "1" under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem registry path.

@atomfrede
Copy link
Member

Good Catch. Looks good to me. Thx for the pr.

@jdubois
Copy link
Member

jdubois commented Apr 1, 2018

I can't test but I totally understand your issue and agree on it. Should we do the same with Maven?

@andreysaksonov
Copy link
Contributor Author

I didn't find any traces of similar workaround in maven build, will take a deeper look

@atomfrede
Copy link
Member

Do we need that for maven? I think the boot run tasks work differently. At least we don't have something for maven in place as far as I can remember.

@jdubois
Copy link
Member

jdubois commented Apr 1, 2018

Oh I have no idea. But indeed I think we only had this issue with Gradle. So let's forget about Maven.

@deepu105
Copy link
Member

deepu105 commented Apr 1, 2018

I don't know about Maven, I did the original workaround from my Windows days when I encountered it

@deepu105 deepu105 merged commit 5a99e6f into jhipster:master Apr 2, 2018
@jdubois jdubois added this to the 5.0.0-beta.0 milestone Apr 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants