tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51741] Eclipse WTP "Serve modules without publishing" broken with tc7, needs patch in tomcat
Date Thu, 13 Oct 2011 18:32:50 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51741

--- Comment #8 from Sylvain Laurent <slaurent@apache.org> 2011-10-13 18:32:50 UTC ---
I'm still working on a patch...
Actually, I think that it's really impossible to have a custom DirContext that
fakes WEB-INF/classes to allow multiple virtual paths because one way or
another it would return inexistent URLs.

So, I started to work on a patch that would allow to specify additional paths
that should be searched for annotated classes just like WEB-INF/classes. Such a
configuration parameter is located on the StandardContext.

With this patch, WTP could totally avoid to provide its own extensions to
tomcat classes and just configure a <Context> with the new property, a
<Resource> with the org.apache.naming.resources.VirtualDirContext
implementation and a <Loader> with the
org.apache.catalina.loader.VirtualWebappLoader implementation.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Mime
View raw message