https://issues.apache.org/bugzilla/show_bug.cgi?id=54386

--- Comment #4 from Konstantin Kolinko <knst.koli...@gmail.com> ---
(In reply to comment #1)
> 
> Now, that isn't to say that Tomcat couldn't supply some useful tools to help
> you take a WAR file and dump all the static resources somewhere (directory,
> zip/tar archive, single JAR, etc.).
> 

It should be easy to write an Apache Ant script that does that. It can be
simplified by using their support for zip resources.


> Create a new server.xml-attribute called: unpackJARResources (default: false).

If such attribute were added for the purpose of providing non-null getRealPath
for those resources,  then they will be unpacked into the /work directory, not
into the /webapps one.  Some work will be needed to re-map the underlying
resources implementation from the original location to the unpacked one.

I think that will not help you much with your task.


I think the resources should not be unpacked into webapp itself, because that
would change the web application. Having those resources separate from the rest
of webapp files is one of the features of those "resource jars".

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

Reply via email to