| Summary: | Extension point schema editor opens as read-only from plugin.xml editor | ||
|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Curtis Windatt <curtis.windatt.public> |
| Component: | UI | Assignee: | Curtis Windatt <curtis.windatt.public> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | jstuckey, markus.kell.r, mike.pawlowski, stepper, wassim.melhem |
| Version: | 3.8 | ||
| Target Milestone: | 4.3 M4 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
| Bug Depends on: | 172721 | ||
| Bug Blocks: | |||
|
Description
Curtis Windatt
I'm now seeing two different problems, in my host I only get read only files. In my target the schemaURL conversion is choking on the space in my workspace path. Fixed in master http://git.eclipse.org/c/pde/eclipse.pde.ui.git/commit/?id=637ebae68b9a222c33ab9ff4054fb2d3d76ea4f5 1) When grabbing schema files from external source bundles, the returned url will not be encoded. Javadoc also updated to state this. We now use URIUtil to create the combined jar/path entry. 2) The action has been rewritten to avoid unnecessary string manipulation. Instead we use URIUtil to encode and find the file. 3) To fix the original read-only problem I tweaked the comparison of file path or workspace root. The original fix included changes to SchemaUtil to encode the url before opening a connection. This is unecessary and causes URISyntaxExceptions because URIUtils doesn't handle jar:file: style urls. I've reverted the changes in that file. http://git.eclipse.org/c/pde/eclipse.pde.ui.git/commit/?id=b83b13bf82f37a4a9f49847f732bc5a9f6228312 Verified in I20121211-0800 |