Package org.jboss.shrinkwrap.api

Examples of org.jboss.shrinkwrap.api.Assignable


            LOGGER.warning("can't create " + file.getParent());
        }

        Files.deleteOnExit(file.getParentFile());

        final Assignable finalArchive;
        if (isTestable(archive, deployment.get())) {
            finalArchive = archiveWithTestInfo(archive);
        } else {
            finalArchive = archive;
        }

        long size = -1;
        if (file.exists()) {
            size = file.length();
        }
        finalArchive.as(ZipExporter.class).exportTo(file, !configuration.isSingleDumpByArchiveName());
        if (size > 0 && size != file.length()) {
            LOGGER.warning("\nFile overwritten but size doesn't match: (now) "
                    + file.length() + "/(before) " + size + " name="+ file.getName()
                    + (configuration.isSingleDumpByArchiveName() ? " maybe set singleDumpByArchiveName to false" : "")
                    + "\n");
View Full Code Here

TOP

Related Classes of org.jboss.shrinkwrap.api.Assignable

Copyright © 2018 www.massapicom. 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.