It appears there isn't an interception point where I can
programmatically set the pluginsExternalLocation setting.
The loader service calls onConfiguration for the plugin service before
processing the afterConfigurationLoad state, and the
setCustomPluginsExternalPath function is private so I can't call it
directly.
From: coldbox@googlegroups.com [mailto:coldbox@googlegroups.com] On
Behalf Of Brett
Sent: Wednesday, 15 September 2010 7:28 AM
To: ColdBox Platform
Subject: [coldbox:5791] Programmatically setting pluginsExternalLocation
It appears there isn't an interception point where I can programmatically
set
the pluginsExternalLocation setting.
The loader service calls onConfiguration for the plugin service before
processing the afterConfigurationLoad state, and the
setCustomPluginsExternalPath function is private so I can't call it
Just keep in mind that once you change the setting, it is that setting
until you change it again or reinit the framework, so if you are doing
this temporarily, be sure to change it back.
@Andrew - Could you post more info how you are doing this?
@Curt - I don't think that works, at least it hasn't for me. From
looking at the code it appears the pluginsExternalLocation is set into
the pluginService when the service is loaded so changing the value of
this setting does not get reflected in the pluginService and no
external plugins are found.