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

8
LINES

< > BotCompany Repo | #1019059 // mergeJars - doesn't copy any manifests

JavaX fragment (include)

svoid mergeJars(L<File> in, File out) ctex {
  ZipOutputStream zip = newZipOutputStream(out);
  new Set<S> set;
  for (File f : unnull(in))
    zip2zip_exceptManifest2(f, zip, set);
  zip.close();
  print("Wrote " + f2s(out));
}

Author comment

Began life as a copy of #1013689

download  show line numbers  debug dex  old transpilations   

Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019059
Snippet name: mergeJars - doesn't copy any manifests
Eternal ID of this version: #1019059/4
Text MD5: dff60ace5334246194689dd47980cb3b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-23 05:53:41
Source code size: 235 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 349 / 382
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1019062 - mergeJars_fileFilter
#1033331 - mergeJars_manifestFromFirst