Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Resources missing and how to load them #801

Open
Delawen opened this issue Jul 21, 2023 · 2 comments
Open

Resources missing and how to load them #801

Delawen opened this issue Jul 21, 2023 · 2 comments
Assignees
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@Delawen
Copy link
Member

Delawen commented Jul 21, 2023

Right now:

  • most of the resources are loaded based on the class package
  • some resources are loaded by class Foo by referencing Bar.class.getResourceAsStream
  • the resource must be referenced in the native image configuration json for the native image to work
  • some tests uses a "../.." notation to load some resources based on some other class packages
  • test are working fine :)

As result doing any kind of refactoring is kinda error prone as lot of things are not automatically refactored/moved by the IDE.
Try to simplify the resource loading by using a flat-ish resource path like we do in Apache Camel.

Plus, try to restore the missing icons after refactoring all camel related DSL things into one single project.

@Delawen Delawen added the bug Something isn't working label Jul 21, 2023
@Delawen
Copy link
Member Author

Delawen commented Jul 26, 2023

Missing resources fixed.

@stale
Copy link

stale bot commented Oct 28, 2023

🚨This issue has been automatically marked as stale because it has not had recent activity.🚨
If you are still interested in this issue, please, leave a comment stating its current status. Note that if no development resources has been allocated on it, you may need to search for alternative resources to complete it. It will be closed if no further activity occurs.
Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Oct 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants