Add <locationsfile/> element in the xbean <classpath/>
------------------------------------------------------
Key: SM-1901
URL: https://issues.apache.org/activemq/browse/SM-1901
Project: ServiceMix
Issue Type: New Feature
Affects Versions: 3.3.1
Reporter: Jean-Baptiste Onofré
Assignee: Jean-Baptiste Onofré
Fix For: 3.3.2
Currently, the user can tune the SU classloader using the <classpath/> element
in the xbean.xml.
<classpath [inverse="true"]>
[<nonOverridable>xxx</nonOverridable>]*
[<hidden>xxx</hidden>]*
[<location>xxx</location>]*
[<library>xxx</library>]*
[<component>xxx</component>]*
</classpath>
We made improvement to use regexp/wildcard, system variables into a location.
Unfortunately, it's a not possible to use a properties file containing the
classpath locations (loading using PropertyPlaceholder) because the classloader
is not yet setup and so the spring bean is not yet loaded.
I propose to add a new element in the <classpath/> one: <file/>.
The <file/> element contains a the path/URL to a file containing the
<classpath/>.
With this, the user can now define the SU classloader using an "external" file
(as a kind of classloader properties file).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.