MCPcopy Index your code
hub / github.com/processing/processing / addManifest

Method addManifest

java/src/processing/mode/java/JavaBuild.java:1247–1257  ·  view source on GitHub ↗
(ZipOutputStream zos)

Source from the content-addressed store, hash-verified

1245
1246
1247 protected void addManifest(ZipOutputStream zos) throws IOException {
1248 ZipEntry entry = new ZipEntry("META-INF/MANIFEST.MF");
1249 zos.putNextEntry(entry);
1250
1251 String contents =
1252 "Manifest-Version: 1.0\n" +
1253 "Created-By: Processing " + Base.getVersionName() + "\n" +
1254 "Main-Class: " + sketch.getName() + "\n"; // TODO not package friendly
1255 zos.write(contents.getBytes());
1256 zos.closeEntry();
1257 }
1258
1259
1260 protected void addClasses(ZipOutputStream zos, File dir) throws IOException {

Callers 1

exportApplicationMethod · 0.95

Calls 3

getVersionNameMethod · 0.95
writeMethod · 0.65
getNameMethod · 0.45

Tested by

no test coverage detected