ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Programmatically Signing JAR Files
Subject:   BUG FIX FOR EXAMPLE SEE HERE
Date:   2001-09-13 10:46:24
From:   k3co
Hello Alex and everybody
I'm Kosta (Kostadin Kirilov Kostadinov - Bulgarian citizen)
I have tested the example - and the missed line is :
//paste it after line :
jos.putNextEntry( manifestFile );
//following is missed line
byte manifestBytes[]=serialiseManifest(manifest);
//above line has missed
//paste it before line :
jos.write(manifestBytes,0,manifestBytes.length );
jos.closeEntry();


Have fun
Kosta