Examples of ZipFunction


Examples of ru.concerteza.util.archive.ZipFunction

                resStream = RESOURCE_LOADER.getResource("classpath:/launchers/x64/install.exe").getInputStream();
            } else {
                resStream = RESOURCE_LOADER.getResource("classpath:/launchers/x86/install.exe").getInputStream();
            }
            copyLarge(resStream, zip);
            ZipFunction zipper = new ZipFunction(jre, prefix + "/jre", zip);
            Collection<File> files = listFiles(jre, true);
            Collection<String> zipped = Collections2.transform(files, zipper);
            fireTransform(zipped);
            getLog().info("Installer written to: [" + installerOutputFile.getPath() + "]");
        } finally {
View Full Code Here

Examples of ru.concerteza.util.archive.ZipFunction

                resStream = RESOURCE_LOADER.getResource(installLauncher64Path).getInputStream();
            } else {
                resStream = RESOURCE_LOADER.getResource(installLauncher32Path).getInputStream();
            }
            copyLarge(resStream, zip);
            ZipFunction zipper = new ZipFunction(jre, prefix + "/jre", zip);
            Collection<File> files = listFiles(jre, true);
            Collection<String> zipped = Collections2.transform(files, zipper);
            fireTransform(zipped);
            getLog().info("Installer written to: [" + installerOutputFile.getPath() + "]");
        } finally {
View Full Code Here

Examples of ru.concerteza.util.archive.ZipFunction

                resStream = RESOURCE_LOADER.getResource("classpath:/launchers/x64/install.exe").getInputStream();
            } else {
                resStream = RESOURCE_LOADER.getResource("classpath:/launchers/x86/install.exe").getInputStream();
            }
            copyLarge(resStream, zip);
            ZipFunction zipper = new ZipFunction(jre, prefix + "/jre", zip);
            Collection<File> files = listFiles(jre, true);
            Collection<String> zipped = Collections2.transform(files, zipper);
            fireTransform(zipped);
            getLog().info("Installer written to: [" + installerOutputFile.getPath() + "]");
        } finally {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.