Hi Browsing some code sources (groovy, xbean, tomee,...and i don'tepeak of github) I found getURLs and addURL quite common and think it should be supported by tomcat by default. Adding getURLs in WebResources wouldnt hurt and would make the getURLs of the classloader trivial. The addURLs should just use a particular WebResource.
Do you think it is possible to get it in t8? Le 25 avr. 2013 08:01, "Romain Manni-Bucau" <rmannibu...@gmail.com> a écrit : > Thanks, playing with org.apache.catalina.WebResourceRoot can work. > > That said not respecting addURL maybe means you should override it to > throw an UnsupportedOperataion no? + the comment > of org.apache.catalina.loader.WebappClassLoader#getURLs is weird since it > references addURL > > > *Romain Manni-Bucau* > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* > *Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* > *Github: https://github.com/rmannibucau* > > > > 2013/4/24 Konstantin Kolinko <knst.koli...@gmail.com> > >> 2013/4/24 Mark Thomas <ma...@apache.org>: >> > On 24/04/2013 17:51, Romain Manni-Bucau wrote: >> >> >> >> how libs/extension (like tomee) should extend it? >> > >> > >> > Use the replacement feature. >> > >> >> resources >> >> In nightly Tomcat 8 docs those are described here: >> http://ci.apache.org/projects/tomcat/tomcat8/docs/config/resources.html >> >> >> > (...) >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: dev-h...@tomcat.apache.org >> >> >