I recommend another approach: pass Mendix constants to the user libraries and manage the endpoints in a constant.
Or take a look at Kerberos module had uses a '.properties' file in a resource folder.
Your method will lead to complex deployments and mistakes.
Don't touch the bundles, Mendix handles that.