-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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 create maven project with latest theia (windows) IDE #13284
Comments
Does this only occur with the Spring Boot archetype or with all templates? |
Since the task tries to execute the |
not only occur with the Spring Boot archetype, tried others also get the same error. |
I can take a look! |
Doesn't this sound like a problem in https://github.com/eclipse-jdtls/eclipse.jdt.ls ? |
@tsmaeder I haven't confirmed this bug in vscode yet (I don't do Java coding these days), but I assume it works as expected there. In that case it's probably related to Theia in some way or another. |
I just checked. The extension (and command) works in VSCode. So i would assume, that the API that the extension uses does not behave the same in Theia. Probably due to the file path decoding/encoding. |
I found where this issue comes from, but i am unsure on how to deal with it: The extension provides the args for the call like this:
Note, that the values for the parameters are wrapped in This is how the
We use the When i try to run that commandLine statement i get the following error message:
As far as i know the
After some testing in the commandline i came to the conclusion that the command works when you either remove the wrapping set of
(This also works without the Or if you remove the
I am unsure on how we should tackle that issue, because other commands will likely need the wrapping Just as a note: |
@sgraband why would |
@sgraband can you give more context on "how the extension provides the args for the call"? Is this a json file, an API call? |
@sgraband I'm not sure whether the file URI is correct or not. It might need to return |
@tsmaeder might be, like i said it did not have any impact on executing the task, but i am unsure on what is expected there. I looked at this due to the comment and Issue description above that indicated it might have something to do with this. However like @msujew suggested i can take a look on what vscode provides there.
I took a look at this function. |
@sgraband the last url is broken. |
Sorry about that:
|
@tsmaeder did you already have time to take a look and/or have an idea on how we could tackle this issue? I would have time this month to provide a fix, but like indicated in my earlier comment i am missing an idea on how to solve this issue. |
No, sorry, @sgraband I have no idea what the right thing to do is, here. In general, it's a good idea to keep things as objects instead of encoding them into a string for as long as possible, but not sure how that applies to this problem. |
Scenario 1:
Create Maven Project
Select spring-boot-blank-archetype
Faced error to create maven project
Scenario 2:
Similar error message with command line if provide -DoutputDirectory with invalid path:
The text was updated successfully, but these errors were encountered: