public void testHelloWorld() throws IOException, Pack200Exception, URISyntaxException {
in = new JarFile(new File(Archive.class.getResource(
"/org/apache/harmony/pack200/tests/hw.jar").toURI()));
file = File.createTempFile("helloworld", ".pack.gz");
out = new FileOutputStream(file);
new Archive(in, out, null).pack();
in.close();
out.close();
// now unpack
InputStream in2 = new FileInputStream(file);