RE: Update on Unpacked WARs

"Kevin Baynes" <[email protected]> Tue, 4 Mar 2003 15:26:04 -0500
Newsgroups gmane.comp.java.jpublish.devel
Message-ID <[email protected]>
As an alternative, can you detect that a server is loading JPublishServlet
from the WAR and unpack the WAR yourself? I have not worked with a container
that runs WebApps out of the WAR so have no idea if that is feasible.

~akb


> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]On Behalf Of
> Anthony Eden
> Sent: Tuesday, March 04, 2003 2:15 PM
> To: jpublish-developer
> Subject: [JPublish-developer] Update on Unpacked WARs
>
>
> I have spent most of the morning looking at what it will take for
> JPublish to support execution in unpacked WARs.  Unfortunately
> the list of changes is long and the results are problematic at best.
>
>  - All managers will need new implementations that pull data from
> the ServletContext.
>  - Some scripting languages will not work.  My initial testing
> indicates that of Jython, JavaScript and BeanShell, only
> BeanShell properly loads classes using the context class loader.
>  - Any calls to SiteContext.getRoot() or any other File based
> methods will fail.
>
> I am sure there are many other changes as well.  The question I
> have is that given the scope of this change is it really worth
> the effort?  How many of you can not live without the ability to
> run JPublish in an unexpanded WAR?
>
> Sincerely,
> Anthony Eden
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Etnus, makers of TotalView,
> The debugger
> for complex code. Debugging C/C++ programs can leave you feeling lost and
> disoriented. TotalView can help you find your way. Available on
> major UNIX
> and Linux platforms. Try it free. www.etnus.com
> _______________________________________________
> Jpublish-developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jpublish-developer



-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com