Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 193568

Summary: [JarProcessor] Need tool to verify pack.gz files
Product: [Eclipse Project] Equinox Reporter: Andrew Niefer <aniefer>
Component: p2Assignee: Andrew Niefer <aniefer>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: david_williams, kim.moir, pascal
Version: 3.3Keywords: helpwanted
Target Milestone: 3.4   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 240855    
Attachments:
Description Flags
initial implementation
none
jarprocessor.jar none

Description Andrew Niefer CLA 2007-06-20 12:43:44 EDT
There still exists some issues with some jars failing to verify after pack/unpack (see for example bug 192983).
We need a tool that can be used to verify that a set of pack.gz files will unpack and verify properly.
Comment 1 Andrew Niefer CLA 2007-06-20 12:49:08 EDT
Created attachment 71927 [details]
initial implementation
Comment 2 Andrew Niefer CLA 2007-06-20 12:51:53 EDT
Created attachment 71930 [details]
jarprocessor.jar

jarprocessor.jar containing attached changes.

Run with:
java -cp jarprocessor.jar org.eclipse.update.internal.jarprocessor.verifier.Verifier -dir <workingDir> <input>

Run with a jdk that has a jarsigner, or have jarsigner on your path.
Input is a directory or a pack.gz file.  Each pack.gz file will be unpacked under the workingDir then verified with jarsigner.

If no arguments are given, the current directory is the input and the workingDir will be a jarprocessor.verifier.temp directory.
Comment 3 DJ Houghton CLA 2008-07-08 16:05:09 EDT
Marking as 3.5 target so we don't lose track of this. Andrew, didn't we have another bug open about adding something like this to the releng tests to verify the build? I can't seem to find it right now...
Comment 4 Andrew Niefer CLA 2009-02-20 12:12:20 EST
I'm going to call this fixed, 3.4 contains that initial implementation.

See also bug 252869