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: Fix exception on empty VssDefinition asset file #44

Merged
merged 3 commits into from
Nov 24, 2023

Conversation

Chrylo
Copy link
Contributor

@Chrylo Chrylo commented Nov 24, 2023

If the VssDefinition annotation is missing but the processor is executed then the necessary asset file can't be found.

The current loadAssets workaround will result into a ksp error if
only tasks like kspDebug are executed. The reason is that the build
folder does not have the information from the assets folder (from
the tests or apps build command) yet.

  • Removes a redundant maven-publish plugin

close #43

If the VssDefinition annotation is missing but the processor is
executed then the necessary asset file can't be found.

- Removes a redundant `maven-publish` plugin

close eclipse-kuksa#43

Signed-Off-By: Mark Hüsers <mark.huesers@etas.com>
Signed-Off-By: Mark Hüsers <mark.huesers@etas.com>
The current loadAssets workaround will result into a ksp error if
only tasks like kspDebug are executed. The reason is that the build
folder does not have the information from the assets folder (from
the tests or apps build command) yet.
@Chrylo
Copy link
Contributor Author

Chrylo commented Nov 24, 2023

Can be tested inside the SDK via:
./gradlew clean app:kspDebugKotlin
or
by deleting the vssSpecification.yaml file from the tests and executing the tests

@Chrylo
Copy link
Contributor Author

Chrylo commented Nov 24, 2023

This is still only "improving" the workaround. The real fix will be done here: #45

Copy link
Contributor

@wba2hi wba2hi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@SebastianSchildt SebastianSchildt merged commit c0ab1f2 into eclipse-kuksa:main Nov 24, 2023
4 checks passed
@erikbosch erikbosch deleted the fix-43 branch October 31, 2024 13:16
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.

Fix NoSuchElementException inside VssDefinitionProcessor for empty test suit
3 participants