Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 27836 invoked by uid 500); 1 May 2001 14:53:39 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 27751 invoked from network); 1 May 2001 14:53:38 -0000 User-Agent: Microsoft-Entourage/9.0.2509 Date: Tue, 01 May 2001 10:52:48 -0400 Subject: How about using an Action to rescan WEB-INF/lib? From: Jason Foster To: Message-ID: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N If I recall correctly the TODO list includes making sure that additions/removals to the WEB-INF/lib directory are picked up automatically. As an interim solution could an Action be created that run the same scan that happens in the CocoonServlet.init() method? I don't know enough about the classloading issues in Cocoon, but it would seem that a really simple action that did something like... this.appContext.put( Constants.CONTEXT_CLASSPATH, this.getClassPath(this.servletContext) ); ...where "this" is replaced by a reference to the CocoonServlet instance should do the trick. The same idea could be used to create a "Control Panel" for Cocoon where you have a single ActionSet that handles all of the possible runtime configurations. Just a thought. Jason Foster --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org