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

Address Missing Resources in querent CI Builds with xmlResources=true #17

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

teogor
Copy link
Owner

@teogor teogor commented Mar 4, 2024

Fix Missing Resources in querent Production Builds

This pull request addresses a critical issue where generated resources are not found during querent CI builds for the production environment when xmlResources is enabled within the buildFeatures block.

Problem:

Enabling xmlResources=true instructs querent to process XML resources during the build process. However, the CI build on the production environment fails to locate these resources, leading to build failures or unexpected application behavior.

Solution:

This fix ensures that the CI build process properly includes and utilizes the generated XML resources. The specific implementation details may vary depending on your build system configuration. Here's a general approach:

  1. Identify Resource Location:
    • Determine the directory where querent generates the processed XML resources. This might involve consulting querent documentation or inspecting your build output.
  2. Configure Build System:
    • Update your CI build configuration to include the resource directory identified in step 1. This could involve modifying your build script or CI configuration file to specify the resource location.
    • Common approaches include adding the resource directory to the classpath or specifying a resource root directory.

Closes #16

@teogor teogor added this to the 1.0.0-alpha03 milestone Mar 4, 2024
@teogor teogor self-assigned this Mar 4, 2024
@teogor teogor merged commit 8f9a736 into main Mar 4, 2024
5 checks passed
@zeobot zeobot bot deleted the bug-fix/xml-resources branch March 4, 2024 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

[Bug] Generated Resources Not Found During CI Build with xmlResources = true on Production Environment
1 participant