Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-dev] Experimental Tomcat 5.5 plugin

Right, that's the idea. There is an enhancement request https://bugs.eclipse.org/bugs/show_bug.cgi?id=103888 already to provide API to get this kind of information. Beware that the module traversal implementation included with the experimental Tomcat is rather naive and I am going to replace it with more mature implementation when I have time.

Sachin Patel wrote:
So looking at TomcatPublishModuleVisitor, IIUC, a new Loader context.xml element is created for every web project with a root location that is then traversed down to add each classes and lib folder by the WtpWebappLoader.

Is this correct?

Thanks. The reason I ask is I'm wanting to implement something similar for Geronimo, which embeds Tomcat. Geronimo however doesn't directly use the server.xml or context.xml but wrappers alot of these configuration elements as gbeans.

- sachin



On Jan 23, 2006, at 3:03 PM, Igor Fedorenko wrote:

Sachin Patel wrote:
Interesting. On the first bullet, what did you configure in Tomcat to load resources directly from the workspace?
- sachin

I use special Context/Loader (sources included with plugin). The loader is added to tomcat runtime classpath using server.loader property of catalina.properties

--
Regards,
Igor Fedorenko




Back to the top