[jboss-dev-forums] [Design the new POJO MicroContainer] - AbstractWARDeployer and unpacking jars
adrian@jboss.org
do-not-reply at jboss.com
Thu Mar 13 13:19:22 EDT 2008
In AbstractWarDeployer there's some code that unpacks jars into the tmp directory.
This looks to be some limitation related to Tomcat not using the VFS from the comment
| /* Unpack wars to the tmp directory for now until tomcat can use the vfs directly. Since
| * the vfs deals with the distinction between a true directory, the only way we can tell from
| * this level of the api is to look for a url that ends in '/'. Here we assume that the name is
| * the root url.
| */
|
If we're going to do this properly, then the tmp directory files should be replacing
the VFS urls in the classpath of the deployment.
However, I bet Tomcat has some abstraction that we can override
to tell it to use the VFS to load static resources?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136407#4136407
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136407
More information about the jboss-dev-forums
mailing list