Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320926 - Cleanup W4T configuration
Summary: Cleanup W4T configuration
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.4   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: 1.4 M5   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-26 12:18 EDT by Ralf Sternberg CLA
Modified: 2011-01-11 06:43 EST (History)
2 users (show)

See Also:


Attachments
Patch to remove w4t configuration file support (60.81 KB, patch)
2011-01-10 07:57 EST, Ralf Sternberg CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Sternberg CLA 2010-07-26 12:18:48 EDT
Currently, a file named W4T.xml is generated by EngineConfigWrapper#createConfiguration() in context/WEB-INF/conf. Both the file and the conf directory are remains from W4T that aren't needed anymore. There are probably a couple of methods around that to clean up.
Comment 1 Ralf Sternberg CLA 2011-01-10 07:57:13 EST
Created attachment 186386 [details]
Patch to remove w4t configuration file support

This patch also removes the interface IInitialization that contained a bunch of obsolete settings. Those settings that are still used by RWT have been moved to IConfiguration in order to simplify matters. These configuration values can still be set by system properties.

RWTLifeCycle is now the default lifecycle implementation so there is no need to explicitely set it anymore.
Comment 2 Rüdiger Herrmann CLA 2011-01-10 08:47:59 EST
You are probably already aware of this, but just in case: there is a low chance that the RAP JUnit Test Launcher might be affected by this change.
Comment 3 Holger Staudacher CLA 2011-01-11 06:17:28 EST
I tested the patch for the RAP Junit Launcher and RWT Standalone.

- I started the IAD Tests which are RAP Junit Tests with the RAP Junit Launcher. It works fine.
- I created a RWT Standalone application and deployed it without a w4t.xml into a Tomcat 6 and a Jetty 7. It works like a charm ;)

+1 for submitting the patch.
Comment 4 Ralf Sternberg CLA 2011-01-11 06:43:29 EST
Thanks Rüdiger for the hint.
Applied patch to CVS HEAD, changed the FAQ accordingly.