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 gradle project classpath calculation #2236

Merged
merged 1 commit into from
Sep 23, 2022

Conversation

jdneo
Copy link
Contributor

@jdneo jdneo commented Sep 21, 2022

use 'org.eclipse.jdt.launching.localJavaApplication' configuration type and use 'excludeTest' attribute to specify whether test classpath should be included.

Since we updated M2E, and the restriction that previous versions have is now removed. So we can just simply use the localJavaApplication type configuration to resolve the classpaths.

fix redhat-developer/vscode-java#2628

Signed-off-by: Sheng Chen sheche@microsoft.com

use 'org.eclipse.jdt.launching.localJavaApplication' configuration type
and use 'excludeTest' attribute to specify whether test classpath should
be included.

Signed-off-by: Sheng Chen <sheche@microsoft.com>
@jdneo jdneo marked this pull request as ready for review September 21, 2022 07:57
@jdneo jdneo changed the title [WIP] Fix gradle project classpath calculation Fix gradle project classpath calculation Sep 21, 2022
@testforstephen testforstephen merged commit 33bb510 into eclipse-jdtls:master Sep 23, 2022
@testforstephen testforstephen added this to the End September milestone Sep 23, 2022
@jdneo jdneo deleted the cs/vscode-java-2628 branch September 23, 2022 02:22
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.

The input type of the launch configuration does not exist
3 participants