[shrinkwrap-issues] [JBoss JIRA] Created: (SHRINKWRAP-316) When adding a resource from classpath shrinkwrap should provide a way to choose the specific source for the resource.

José Freitas (JIRA) jira-events at lists.jboss.org
Thu Aug 11 13:55:02 EDT 2011


When adding a resource from classpath shrinkwrap should provide a way to choose the specific source for the resource.
---------------------------------------------------------------------------------------------------------------------

                 Key: SHRINKWRAP-316
                 URL: https://issues.jboss.org/browse/SHRINKWRAP-316
             Project: ShrinkWrap
          Issue Type: Enhancement
          Components: impl-base
    Affects Versions: 1.0.0-beta-5
            Reporter: José Freitas
            Priority: Critical


MyClass.class.getResource only use the CL from where that was loaded, and there's a need  to get the resource from a specific source.
like: give me "resource-x" found where MyClass.class is found.
with that, we can for example pick a specific META-INF/faces-config.xml and not anyone placed on the classpath.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the shrinkwrap-issues mailing list