extscript-core-root/extscript-weld/src/main/java/org/apache/myfaces/extension/scripting/weld/core/CDIThrowAwayClassloader.java [69:86]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public URL getResource(String s)
    {
        if (s.contains("META-INF/beans.xml"))
        {
            //return target dir
            try
            {
                return WeavingContext.getInstance().getConfiguration().getCompileTarget().toURI().toURL();
            }
            catch (MalformedURLException e)
            {
                //cannot really happen
                e.printStackTrace();
            }
            return null;
        }
        return _delegate.getResource(s);
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



extscript-core-root/extscript-cdi/src/main/java/org/apache/myfaces/extensions/scripting/cdi/core/CDIThrowAwayClassloader.java [94:111]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public URL getResource(String s)
    {
        if (s.contains("META-INF/beans.xml"))
        {
            //return target dir
            try
            {
                return WeavingContext.getInstance().getConfiguration().getCompileTarget().toURI().toURL();
            }
            catch (MalformedURLException e)
            {
                //cannot really happen
                e.printStackTrace();
            }
            return null;
        }
        return _delegate.getResource(s);
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



