| Summary: | [Tooling] Extend RWT launcher to launch from a web app folder | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Rüdiger Herrmann <ruediger.herrmann> |
| Component: | Tools | Assignee: | Rüdiger Herrmann <ruediger.herrmann> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | fr.appel |
| Version: | 1.4 | ||
| Target Milestone: | 1.5 M3 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Rüdiger Herrmann
Extended the launch config with a third option: Run from web-application folder. When choosing this option, a folder from the workspace must be specified that serves as the root of the web application. This folder must at least contain a WEB-INF folder with a valid deployment descriptor (web.xml). Currently the embedded Jetty that serves as the servlet engine is started with a parameter that points directly to the given web application folder. As a consequence, resources to be delivered by the servlet engine are written to this folder. This is less-than-optional as this folder is usually managed by a source code management system and temporary resource files aren't meant to be stored there. To avoid this, we might consider to copy the web application folder to a temporary location before launching the servlet engine. Changes are in CVS HEAD. The run-jetty-run project [1] already provides the described feature. I will therefore revoke the changes. [1] http://code.google.com/p/run-jetty-run/ |