tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: Help with updating the Maven Tomcat Plugin
Date Tue, 04 Feb 2014 15:35:10 GMT
2014-02-04 Petar Tahchiev <paranoiabla@gmail.com>:
> Hi guys,
>
> I'm trying to work on
>
> https://issues.apache.org/jira/browse/MTOMCAT-234
>
> Unfortunately the only thing that is left is this: the tomcat-maven-plugin
> uses
> ExternalRepositoriesReloadableWebappLoader to load additional repositories
> in the
> classloader.
>
> ExternalRepositoriesReloadableWebappLoader extends WebappLoader
>
> and WebappLoader implements Loader.
>
> And before tomcat8 the org.apache.catalina.Loader interface had these 2
> methods:
>
>     public void addRepository(String repository);
>     public String[] findRepositories();
>
>
> so the ExternalRepositoriesReloadableWebappLoader could call
> super.addRepository() and manually add repository.
>
> But I can see in the svn log that since version 1401503 these 2 methods are
> removed (not deperecated, but simply removed). And I can't seem to find any
> possible way to add repository to the loader!
> Can you please guide me what should be the correct way to overcome this.
>

http://tomcat.apache.org/migration-8.html#Web_application_resources
http://tomcat.apache.org/tomcat-8.0-doc/config/resources.html#Nested_Components

Context.getResources() and
http://tomcat.apache.org/tomcat-8.0-doc/api/org/apache/catalina/WebResourceRoot.html

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message