JBoss does not detect new directories in modules
Issue
In order to handle properties file in my application I applied the solution https://access.redhat.com/knowledge/solutions/122883
It works correctly but it doesn't handle the update of folders:
- A file "properties.index" is generated in the same directory than the properties folder containing all folders in the properties dir.
- once it has been generated this file is never updated.
- so that if I add a new folder containing properties file it will never appears in the "properties.index" and then
Thread.currentThread().getContextClassLoader().getResource("newDir/my.properties");
will never work
Environment
- JBoss Enterprise Application Platform (EAP) 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
