kaoto-backend
kaoto-backend copied to clipboard
Resources missing and how to load them
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.
Missing resources fixed.
🚨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.