[ 
https://issues.apache.org/activemq/browse/SM-1771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré updated SM-1771:
-------------------------------------

    Attachment: SM-1771-1.patch

Step 1 : add the support of jar: and file: classpath entries.

The path contains the getResource() changes in the ClassLoaderXmlPreprocessor 
and a small unit test for different kind of provided URLs.

The patch root is servicemix-core.

I resume to better support (and try the regexp support as made in Commons VFS).

> Support JarUrlConnection with regexp in the SU <classpath/>
> -----------------------------------------------------------
>
>                 Key: SM-1771
>                 URL: https://issues.apache.org/activemq/browse/SM-1771
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-common
>    Affects Versions: 3.3
>         Environment: ServiceMix 3.3.1
> JVM 1.5.0 Sun
> Linux
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>         Attachments: SM-1771-1.patch
>
>
> It's possible to extend the SU classloader using the <classpath/> tag.
> Currently, the <location/> tag in classpath uses File and expects something 
> like /path/to/my.jar.
> We are going to extend this using JarUrlConnection inside the <location/> 
> tag. Using JarUrlConnection, the user will be able to use classpath extension 
> like :
> jar:file:/path/to/my.ear!/my.jar
> for example.
> Moreover, we will add regexp supports for jar lookup. At the end, the user 
> will be able to use something like that :
> jar:file/path/to/my.ear!/my*.jar

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to