Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1016056 - makeManifestWithMainClass

JavaX fragment (include)

svoid makeManifestWithMainClass(ZipOutputStream outZip, S mainClass) ctex {
  outZip.putNextEntry(new ZipEntry("META-INF/MANIFEST.MF"));
  outZip.write(toUtf8("Manifest-Version: 1.0\n" +
    "Main-Class: " + mainClass + "\n\n"));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1016056
Snippet name: makeManifestWithMainClass
Eternal ID of this version: #1016056/1
Text MD5: a57271e207578ab799d1c5920c679bc6
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-04 13:34:57
Source code size: 235 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 251 / 291
Referenced in: #1006654

Formerly at http://tinybrain.de/1016056 & http://1016056.tinybrain.de