Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 345047

Summary: ScanningAppProvider.setMonitoredDir(String) had an API change
Product: [RT] Jetty Reporter: Hugues Malphettes <hmalphettes>
Component: serverAssignee: Greg Wilkins <gregw>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: P3 CC: jetty-inbox
Version: 7.4.0   
Target Milestone: 7.2.x   
Hardware: All   
OS: All   
Whiteboard:

Description Hugues Malphettes CLA 2011-05-06 23:23:18 EDT
When upgrading to 7.4.0 the older jetty.xml files won't work if they use an AppProvider that extends the ScanningAppProvider.
It appears that the method
setMonitoredDir(String)
   was renamed
setMonitoredDirName(String)

The workaround consists of changing the affected jetty.xml files.
Should we:
1- rollback the change?
2- put back the old method with an @deprecated?
3- let it like this and document?

For my case where the same config file can be used with different versions of jetty, it would be nice to choose #2.
Comment 1 Greg Wilkins CLA 2011-05-09 21:35:50 EDT
r3102 for 7.4.1