| Summary: | osgi.baseConfiguration.area and -configuration does not resolve using a relative path | ||
|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Steven Darnell <darnells> |
| Component: | Framework | Assignee: | Thomas Watson <tjwatson> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | tjwatson |
| Version: | 3.8.2 Juno | Keywords: | helpwanted |
| Target Milestone: | Luna M6 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Steven Darnell
What you describe makes sense, but I am wondering if you have a proposal for a solution? The osgi.baseConfiguration.area is read by the equinox launcher in the processConfiguration method [1] It seems this is where we need to detect that the property is a relative path and base it off the install location if so. I guess the code should call org.eclipse.equinox.launcher.Main.ensureAbsolute(String) similar to what is done for osgi.sharedConfiguration.area in the same method. [1] http://git.eclipse.org/c/equinox/rt.equinox.framework.git/tree/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java#n1747 Target for M6, but would be great to get a contribution for this one. I forgot to mention. I don't really want to treat relative paths for -configuration as relative to the install location because that will break current behavior for when calling eclipse -configuration <myconfig folder> from a directory that has all your configurations. I went ahead and made a call to make sure the osgi.baseConfiguration.area property is absolute: http://git.eclipse.org/c/equinox/rt.equinox.framework.git/commit/?id=34dbbd148efba5b5a398ffbd1848e38aae829709 |