artur-shaik / vim-javacomplete2

DEPRECATED in favor of jc.nvim
Vim License
973 stars 82 forks source link

failed to generate classpath for gradle in windows #466

Open wsdjeg opened 2 years ago

wsdjeg commented 2 years ago

Actual behavior (Required!)

get following error:

FAILURE: Build failed with an exception.
* Where:
Initialization script 'C:\Users\wsdjeg\AppData\Local\Temp\nvimf7Dg0j\4' line: 1
* What went wrong:
Could not compile initialization script 'C:\Users\wsdjeg\AppData\Local\Temp\nvimf7Dg0j\4'.
> startup failed:
initialization script 'C:\Users\wsdjeg\AppData\Local\Temp\nvimf7Dg0j\4': 1: Unexpected character: '\'' @ line 1, column 25.
rootProject{apply from: 'C:\Users\wsdjeg\.SpaceVim\bundle\vim-javacomplete2\classpath.gradle'}
                             ^
1 error
* 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 696ms

Expected behavior (Required!)

hope this works well in windows

The steps to reproduce actual behavior (Required!)

testing repo: https://github.com/wsdjeg/java-springboot-bare-repository

Environment (Required!)

Q&A

Screenshot (Optional)

The output of :redir and :message (Optional)

wsdjeg commented 2 years ago

gradle version:


------------------------------------------------------------
Gradle 7.5.1
------------------------------------------------------------

Build time:   2022-08-05 21:17:56 UTC
Revision:     d1daa0cbf1a0103000b71484e1dbfe096e095918

Kotlin:       1.6.21
Groovy:       3.0.10
Ant:          Apache Ant(TM) version 1.10.11 compiled on July 10 2021
JVM:          17.0.2 (Oracle Corporation 17.0.2+8-86)
OS:           Windows 11 10.0 amd64
artur-shaik commented 2 years ago

Sorry, I don't have windows cannot debug now.

szczad commented 2 years ago

The error also occurs on Linux. I have similar encounters.

artur-shaik commented 2 years ago

Sorry, couldn't reproduce on linux. Maybe you can debug it and create PR?