You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2009/03/02 14:17:59 UTC
[jira] Commented: (SMXCOMP-176) Support JarUrlConnection with
regexp in the SU
[ https://issues.apache.org/activemq/browse/SMXCOMP-176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50148#action_50148 ]
Guillaume Nodet commented on SMXCOMP-176:
-----------------------------------------
Two comments:
* I think the file:// pattern could be used with regexp too (imho this is a valid use case)
* I would avoid using a JarFile and use a JarInputStream instead, this would make all jar:xxx urls work and not only jar:file:xxx urls
> Support JarUrlConnection with regexp in the SU <classpath/>
> -----------------------------------------------------------
>
> Key: SMXCOMP-176
> URL: https://issues.apache.org/activemq/browse/SMXCOMP-176
> Project: ServiceMix Components
> Issue Type: Improvement
> Components: servicemix-common
> Affects Versions: 3.2.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, SM-1771-2.patch, SM-1771-3.patch, SM-1771-4.patch, SMXCOMP-176.patch, SMXCOMP-176_1.patch, SMXCOMP-176_2.patch, SMXCOMP-176_3.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.