use of org.apache.tools.ant.taskdefs.Jar in project processdash by dtuma.
the class PackageLaunchProfile method createResourceJar.
private void createResourceJar(File tmpFile) throws IOException, ManifestException {
String contentToken = calculateContentToken();
Manifest mf = buildManifest(contentToken);
Jar jar = new Jar();
jar.bindToOwner(this);
jar.addConfiguredManifest(mf);
for (FileSet fs : filesets) jar.addFileset(fs);
tmpFile.delete();
jar.setDestFile(tmpFile);
jar.execute();
}