Taack commented on issue #15129:
URL: https://github.com/apache/grails-core/issues/15129#issuecomment-3422164849
After digging a little, it turns out that
`org.grails.plugins.BinaryGrailsPlugin#getProperties` does not list resources
if `baseResourcesResource` (the classpath entry) point to a non-jar directory.
```groovy
try {
// first load all properties
Resource[] resources = resolver.getResources('*' +
PROPERTIES_EXTENSION);
resources = resources.length > 0 ?
filterResources(resources, locale) : resources;
if (resources.length > 0) {
```
`resources.length` is zero because `resolver.getResources` return an empty
array.
It seems `doFindPathMatchingFileResources` look after the wrong path:
`.../build/resources` instead of `.../build/resources/main` where the
properties are stored.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]