| Summary: | Incorrect path to branding plugin | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Axel Guckelsberger <info> | ||||
| Component: | Buckminster | Assignee: | buckminster.core-inbox <buckminster.core-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | christian.kesselheim, thomas | ||||
| Version: | unspecified | Flags: | thomas:
iplog+
|
||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Axel Guckelsberger
A stacktrace would be very helpful here (should be printed if you use --displaystacktrace or use loglevel DEBUG). I suspect that the problem is in the p2 publisher since we've had a fair amount of problem related to Mac and branding. See also bug 278909 and bug 291045. Created attachment 171382 [details]
Exception stack trace
Stack trace of exception
Added the stack trace. Changing to debug level only did not reveal it, thus I used the --displaystacktrace argument on raw ssh console. Seems like you were right with the p2 publisher. Maybe bug 305143 is related as well. Any way to bypass this exception? A temporary workaround would be sufficient, just to avoid the builds failing preventing further work. Maybe it would be enough to remove the mac launcher icon completely from the product definition? I have no Mac so I can't really help out with this one. If you have some time to spend and can provide a patch, I'll certainly consider it for inclusion. I also do not own a Mac... the error happens on a Linux machine while building the p2 update site. Tried to remove the macos launcher icon from the product definition. But then the same error occurs for the ini file. It is possible to build a p2 site without considering macosx? This would be sufficient for me temporarily :-) Looked into the Buckminster code, but I think it is not reasonable to work around it there (as it seems impossible to distinguish that error from others). The real solution is your patch in 278909 in my opinion - if you agree then you can close this one as a duplicate. Proposed patch for this one:
BrandingIron.java, we have these lines starting in line 178:
iconName = icon.getName();
Utils.copy(icon, new File(target + "/Resources/" + icon.getName())); //$NON-NLS-1$
new File(initialRoot + "/Resources/Eclipse.icns").delete(); //$NON-NLS-1$
I think these must be enclosed by:
if (icon.exists()) {
...
}
The patch is checked in to helios-maintenance, rev 11489. |