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

Gradle arguments containing spaces are not supported in project settings #1207

Open
CsCherrYY opened this issue Sep 27, 2022 · 1 comment
Open

Comments

@CsCherrYY
Copy link
Contributor

Steps to Reproduce

  1. git clone https://github.com/spring-projects/spring-petclinic
  2. open and import it in eclipse, the import process will be finished successfully
  3. add an init script in a folder with its name containing a space, and try to make it the init script in the project settings:
    image
  4. apply and close, try to refresh (synchorize) the project
  5. you can find that the synchorize process failed with the following stacktrace:
    image
  6. after reopen the project properties, the arguments are splited automatically with space:
    image

This issue also affects VS Code extension redhat.java which uses buildship as its Gradle integration.

Some findings

CsCherrYY added a commit to CsCherrYY/eclipse.jdt.ls that referenced this issue Sep 27, 2022
CsCherrYY added a commit to CsCherrYY/eclipse.jdt.ls that referenced this issue Sep 27, 2022
Signed-off-by: Shi Chen chenshi@microsoft.com
@rgrunber
Copy link
Contributor

rgrunber commented Sep 27, 2022

I was able to reproduce the same behaviour on Linux :

Version: 2022-09 (4.25)
Build id: I20220831-1800
Buildship: Eclipse Plug-ins for Gradle	3.1.6.v20220511-1359	org.eclipse.buildship.feature.group	Eclipse Buildship

rgrunber pushed a commit to eclipse-jdtls/eclipse.jdt.ls that referenced this issue Sep 27, 2022
Signed-off-by: Shi Chen chenshi@microsoft.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants