ringo/ringojs — pull request #155 by tschaub (2011-10-19 21:56:12+00:00)
Title: Use existing repositoryFromClasspath method.

In some servlet containers (e.g. Glassfish), the ringo.jar is extracted and the result of `RingoConfiguration.class.getResource("/modules")` is a URL with the file protocol. The existing `resolveRepository` method only accounts for jar and zip protocols. The existing `repositoryFromClasspath` method accounts for file based URLs.

With this change, Ringo works for me on Glassfish and Tomcat using modules bundled in ringo.jar.