In many places, the instance class "com.top_logic.util.resource.analyzer.IDEResources" is explicitly configured for the service "com.top_logic.basic.util.ResourcesModule". This was likely caused by copy-pasting. As a result, this implementation—which was intended solely for the IDE—almost inevitably ends up in a deployed application. Instead, the instance class should generally not be reconfigured at all. The IDEResources can be accessed by including the "devel-dump-missing-resources.config.xml" configuration file; as a development configuration, this could be done directly in top-logic, eliminating the need for local customization.
Migration
The implementation `com.top_logic.util.resource.analyzer.IDEResources ` is intended solely for development in the IDE and should not be configured in a deployed application. The engine no longer configures it in its own configurations.
In the configuration of the application’s com.top_logic.basic.util.ResourcesModule service, remove the explicit instance class; the rest of the configuration (e.g., the bundles) remains unchanged:
<!-- before -->
<config service-class="com.top_logic.basic.util.ResourcesModule">
<instance class="com.top_logic.util.resource.analyzer.IDEResources">
<bundles>
<bundle name="my.app.messages"/>
</bundles>
</instance>
</config>
<!-- after -->
<config service-class="com.top_logic.basic.util.ResourcesModule">
<instance>
<bundles>
<bundle name="my.app.messages"/>
</bundles>
</instance>
</config>
If the IDEResources are needed during development, the configuration file devel-dump-missing-resources.config.xml from tl-core can be included instead.
Find the relevant locations:
grep -rn -e 'IDEResources' --include=*.xml .