incubator-s4-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthieu Morel (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (S4-72) Resource loading from S4R
Date Thu, 12 Jul 2012 09:03:33 GMT

    [ https://issues.apache.org/jira/browse/S4-72?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13412617#comment-13412617
] 

Matthieu Morel commented on S4-72:
----------------------------------

I added a commit in S4-72 branch for making better use of optional s4.tmp.dir option for exploding
S4R archives and loading resources/classes from there.
                
> Resource loading from S4R
> -------------------------
>
>                 Key: S4-72
>                 URL: https://issues.apache.org/jira/browse/S4-72
>             Project: Apache S4
>          Issue Type: Improvement
>    Affects Versions: 0.5
>            Reporter: Daniel Gómez Ferro
>             Fix For: 0.5
>
>
> S4RLoader should load resources from jars. This could be accomplished overriding {{findResource()}}
or directly {{getResource()/getResourceAsStream()}}.
> User resources should also take precedence over dependencies resources. Right now dependencies
are exploded and packaged on a single JAR causing all resources to be at the same level, possibly
conflicting with each other. There are a couple of options to solve this:
>    * Specify a directory for user resources which will be searched before any other directory
>    * Don't explode dependencies, packaging them as JARs. Only user resources would be
at top level

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message