-
-
Notifications
You must be signed in to change notification settings - Fork 968
Closed
Description
I tested our multi-project gradle build with Grails 4.0.0.M1 and verified that the issue #11099 is still present in Grails 4 and Gradle 5.
I discovered some additional insight about the problem since the last issue:
- the problem is not happening with bootRun but with IntelliJ Grails Run Configuration
- it seems to happend with resources generally and not just message.properties, e.g. configuration from plugin.yml ist not loaded either
See example project reproducting the issue.
Task List
- Steps to reproduce provided
- Stacktrace (if present) provided
- Example that reproduces the problem uploaded to Github
- Full description of the issue provided (see below)
Steps to Reproduce
Same as #11099 but with Grails 4.0.0.M1 build.
- checkout example project
- open project in IntelliJ
- run IntelliJ Run Configuration "Grails: myapp"
Expected Behaviour
Application "myapp" should have access to resources in "myplugin" and successfully boot.
Actual Behaviour
Application "myapp" has no access to resources in "myplugin". An assertion in the BootStrap file of "myapp" verifies the presence of the configuration from "myplugin". An exception will be thrown because the assertion fails.
Environment Information
- Operating System: Windows 10
- Grails Version: 4.0.0.M1
- JDK Version: 8