tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Petar Tahchiev <paranoia...@gmail.com>
Subject Help with updating the Maven Tomcat Plugin
Date Tue, 04 Feb 2014 15:25:36 GMT
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.

Thanks.

-- 
Regards, Petar!
Karlovo, Bulgaria.
---
Public PGP Key at:
https://keyserver1.pgp.com/vkd/DownloadKey.event?keyid=0x19658550C3110611
Key Fingerprint: A369 A7EE 61BC 93A3 CDFF  55A5 1965 8550 C311 0611

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message