Compress the zipFile.
CBZip2OutputStream zOut = null;
try {
BufferedOutputStream bos =
new BufferedOutputStream(new FileOutputStream(zipFile));
bos.write('B");
bos.write('Z");
zOut = new CBZip2OutputStream(bos);
zipResource(getSrcResource(), zOut);
} catch (IOException ioe) {
String msg = "Problem creating bzip2 " + ioe.getMessage();
throw new BuildException(msg, ioe, getLocation());
} finally {
FileUtils.close(zOut);
}