Skip to content

build: Update target platform#1614

Closed
jdneo wants to merge 1 commit into
mainfrom
cs/update-target-platform
Closed

build: Update target platform#1614
jdneo wants to merge 1 commit into
mainfrom
cs/update-target-platform

Conversation

@jdneo

@jdneo jdneo commented Sep 25, 2023

Copy link
Copy Markdown
Member

fix #1613

This will bump the embedded JUnit 5 to 5.10.0.

@jdneo

jdneo commented Sep 25, 2023

Copy link
Copy Markdown
Member Author

@dbalek

vscode-java-test-0.40.2023092502.vsix.zip

Using this private build and the latest Pre-release of the vscode-gradle extension, which uses the build server approach should solve the problem. I tested it locally on my machine and it works.

As it is mentioned in #1608, bump to JUnit 5.10.0 might cause the projects using <= 5.9.x failed to run the tests. I'm not planning to do that at this moment.

From your side, is there any kind of due date or something that need the VS Code Java side to address this issue ASAP? If yes, please let me know.

@dbalek

dbalek commented Sep 26, 2023

Copy link
Copy Markdown

Unfortunatly, tested with the attached vscode-java-test extension and the pre-release (v3.12.2023091801) of the vscode-gradle extension I am still getting the same error as in #1613

@jdneo

jdneo commented Sep 26, 2023

Copy link
Copy Markdown
Member Author

Sorry forget to mention, you need to clean the workspace cache.

  • Open the command palette (Press F1)
  • Select Java: Clean Java Language Server Workspace > Reload and delete

@dbalek

dbalek commented Sep 26, 2023

Copy link
Copy Markdown

Cleaning the workspace cache, still the same result

@jdneo

jdneo commented Sep 27, 2023

Copy link
Copy Markdown
Member Author

Could you share your VS Code settings? And maybe a screenshot of the Java Projects View (F1 >View: Focus on Java Projects View)

Another difference is that I'm using Micronaut 4.1.2 instead of 4.1.1

@dbalek

dbalek commented Sep 27, 2023

Copy link
Copy Markdown

I have started VSCode with the fresh --user-data-dir and --extensions-dir, and I have created the new Micronaut 4.1.2 project. So, the settings.json is almost empty now:

{
    "workbench.startupEditor": "none"
}

Still the same result:
screenshot-vscode

@jdneo

jdneo commented Sep 27, 2023

Copy link
Copy Markdown
Member Author

There is a node named Project and External Dependencies in the Java Projects View, which is a hint that the Gradle project is still imported by the old Gradle importer.

Could you try to clean Java Language Server Workspace again?

More details, see: redhat-developer/vscode-java#3260 (comment). Sorry for the confusion here.

@dbalek

dbalek commented Sep 27, 2023

Copy link
Copy Markdown

The node is named Referenced Libraries (Read-only) now, otherwise no change...

@jdneo

jdneo commented Sep 27, 2023

Copy link
Copy Markdown
Member Author

Still failed to launch tests?

@dbalek

dbalek commented Sep 27, 2023

Copy link
Copy Markdown

Yes, exactly the same error.

@jdneo

jdneo commented Sep 28, 2023

Copy link
Copy Markdown
Member Author

I can reproduce it now on MacOS. Previously I was using Windows, which works fine.

@yanisderbikov

Copy link
Copy Markdown

Is still open? Do you need help?

@jdneo

jdneo commented Nov 15, 2023

Copy link
Copy Markdown
Member Author

Thank you @yanisderbikov. Since bumping to JUnit 5.10.0 might cause the projects using <= 5.9.x failed to run the tests. I'm not planning to do that at this moment.

@jdneo

jdneo commented Mar 20, 2024

Copy link
Copy Markdown
Member Author

More and more users are migrating to 5.10.x

The estimate time for updating the target platform will happen in May.

@jdneo

jdneo commented Aug 7, 2024

Copy link
Copy Markdown
Member Author

Fixed in #1722

@jdneo jdneo closed this Aug 7, 2024
@jdneo jdneo deleted the cs/update-target-platform branch August 7, 2024 12:41
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.

Micronaut 4 Gradle project test execution broken

3 participants