| Summary: | [JarProcessor] Processor can change hash of eclipse.inf | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Andrew Niefer <aniefer> | ||||
| Component: | Update (deprecated - use Eclipse>Equinox>p2) | Assignee: | Platform-Update-Inbox <platform-update-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | bluesoldier, jeffmcaffer, john.arthorne, mober.at+eclipse, sonia_dimitrov, wmitsuda | ||||
| Version: | 3.3 | ||||||
| Target Milestone: | 3.3 M5 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 163421, 168594, 175284 | ||||||
| Attachments: |
|
||||||
|
Description
Andrew Niefer
Need to check to see if this is a problem when unpacking signed & packed jars. For example, the jars were signed on linux, but we are doing an update on a windows box. Perhaps this is the cause of bug 163421 Created attachment 55921 [details]
patch
Attached patch fixes problem by always using \n
Whoa! This could also be the reason for bug 168344. Thanks for putting me on CC for this. As a matter of fact, in all the cases where I saw problems, the signing had been done on Linux, unpacking on Windows, and the verification error was seen in the file Eclipse.inf. If this is the true issue, it would be a big problem for Europa M4 (in case the update site should be signed & packed). The strange thing with bug 168344 is, that most features unpacked and verified properly (e.g. rse.core, rse.ftp, rse.ssh) while some threw the verification exception (rse.examples, rse.sdk) - though all were processed in the same way. Martin, I wouldn't be surprised if this is the cause of the problem in your case. If you are still following the steps in bug 163421 comment #4, you are doing a redundant -repack before calling the signing script (because the signing script also does a repack before signing). Eliminating this redundant repack my also solve your problem... But by the definition of repack, if repack happens on the _same_ platform twice it shouldn't change anything? Andrew was referring to multiple-repack issues when happening on _different_ platforms (windows / linux). Oh right, I assume you are running all of this on the same machine (build.eclipse.org). In the platform build, we only run the signing script on build.eclipse.org, and do other processing of JARs back on our local build machine. So perhaps in your case this problem doesn't apply. I still think you should remove the extra -repack step just to eliminate variables that may be causing the problem. Released. It looks like a new manifestation of the issue is in bug 175284, visible on the Eclipse Platform M5 milestone update site. I'm not reopening the bug, though, because I'm not sure if the hash is the real cause of the issue. |