MCPcopy Create free account
hub / github.com/benfry/processing4 / addManifest

Method addManifest

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

Source from the content-addressed store, hash-verified

1147
1148
1149 protected void addManifest(ZipOutputStream zos) throws IOException {
1150 ZipEntry entry = new ZipEntry("META-INF/MANIFEST.MF");
1151 zos.putNextEntry(entry);
1152
1153 String contents =
1154 "Manifest-Version: 1.0\n" +
1155 "Created-By: Processing " + Base.getVersionName() + "\n" +
1156 "Main-Class: " + sketch.getMainName() + "\n"; // TODO not package friendly
1157 zos.write(contents.getBytes());
1158 zos.closeEntry();
1159 }
1160
1161
1162 protected void addClasses(ZipOutputStream zos, File dir) throws IOException {

Callers 1

exportApplicationMethod · 0.95

Calls 3

getVersionNameMethod · 0.95
getMainNameMethod · 0.80
writeMethod · 0.65

Tested by

no test coverage detected