You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2010/07/09 09:30:52 UTC

[jira] Commented: (SM-1901) Add file attribute in the xbean

    [ https://issues.apache.org/activemq/browse/SM-1901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60535#action_60535 ] 

Jean-Baptiste Onofré commented on SM-1901:
------------------------------------------

Feature added to SMX3 LW container: revision 962431.

I'm working on servicemix shared-libraries now (common part).

> Add file attribute 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.3
>
>
> 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.