| Summary: | [api] URIResolverExtension Interface is Internal | ||
|---|---|---|---|
| Product: | [WebTools] WTP Common Tools | Reporter: | David Carver <d_a_carver> |
| Component: | wst.common | Assignee: | Keith Chong <keith.chong.ca> |
| Status: | NEW --- | QA Contact: | Carl Anderson <ccc> |
| Severity: | normal | ||
| Priority: | P3 | CC: | thatnitind, valentinbaciu |
| Version: | 3.2 | ||
| Target Milestone: | 4.0 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
David Carver
This would be best done in a new release, with the internal version being deprecated. Targetting to WTP 3.3 M6 since that is the API cutoff, and assigning to Keith Chong for the initial investigation. The current extension is in the internal provisional package. Which means the *only* way to use the framework at all is to make use of internals. Correct, and I'd rather have true API instead of provisional, and it's been Provisional for years. I think it is time to graduate it our get rid of it. Bug 172412 is also interesting in that it discusses URI classes. The URI resolver plug-in has its own URI class and various URI utilities. I've been looking through the code recently and I've jotted down some potential improvements that could/should be done while cleaning this plug-in up for API: - URI resolver extension schema could spell out the allowed values for the stage attribute using restrictions - projectNature, value is a string, should perhaps be made an IDREF pointing to the nature ID. - there some strangeness in org.eclipse.wst.common.uriresolver.internal.ExtensibleURIResolver.computeFile(String) in using getFileForLocation() I'm sure there's more to be done to clean-up this code. Hope this helps. Have to defer this out. It is possible that supporting EFS may require these provisional APIs to change.....or there may be new APIs added. |