| Summary: | [Help] FileNotFoundException starting infocenter | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Chris Goldthorpe <cgold> | ||||||
| Component: | User Assistance | Assignee: | Chris Goldthorpe <cgold> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | daniel_megert, dave.henderson | ||||||
| Version: | 3.7 | ||||||||
| Target Milestone: | 3.8 M1 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Chris Goldthorpe
Created attachment 175514 [details]
Patch
The old code was was using this expression to find the metadata location:
new File(Platform.getLocation().toFile(), ".metadata/")
which does not look right, it should be using Plugin.getStateLocation() instead.
Patch applied to HEAD, Fixed. Reopened - see Bug 332694 - [Help] Standalone help with "-command displayHelp" not working Created attachment 198297 [details]
Patch version 2
Chris, please also update the bundle version in the manifest. Good catch, I have updated the bundle version. I'll set the state to fixed once 3.8M1 is added to the target milestones. (In reply to comment #6) > Good catch, I have updated the bundle version. I'll set the state to fixed once > 3.8M1 is added to the target milestones. I get API tooling errors now. You must be using 3.6.2 ( and not 3.7) as the API baseline. The API problem filters need to change every time the bundle version changes. If 3.7 is the API baseline no errors will show because there has been no API change since 3.7, I will fix the filters to get rid of the errors when 3.6.2 is the baseline. (In reply to comment #8) > You must be using 3.6.2 ( and not 3.7) as the API baseline. Ah yes. We (JDT) are currently coding for 3.7.1 and hence I didn't pump up the API baseline yet. Sorry for the noise. This was fixed in 3.8M1, see Comment 6. I see this was targeted to 3.8, and not 3.7.1 or 3.7.2 -- is this because there's some sort of workaround for 3.7.x? I ask because I'm seeing this consistently trying to launch org.eclipse.help.base.infocenterApplication within the IDE (using an Eclipse Application Run Config)... I'm trying to test some changes I've made to my help plugin, and I'd rather not have to rebuild and redeploy each time I make a minor HTML modification :) Thanks! (In reply to comment #11) > I see this was targeted to 3.8, and not 3.7.1 or 3.7.2 -- is this because > there's some sort of workaround for 3.7.x? I don't think so. It was just not considered critical enough to be backported. |