Package org.codehaus.plexus.archiver.zip

Examples of org.codehaus.plexus.archiver.zip.ZipUnArchiver.extract()


        try
        {
            UnArchiver ua = new ZipUnArchiver( pluginJar );

            ua.extract( resourcesPath, outputDirectory );
        }
        catch ( ArchiverException e )
        {
            throw new MojoExecutionException( "Error extracting resources from your Ant-based plugin.", e );
        }
View Full Code Here


        try
        {
            UnArchiver ua = new ZipUnArchiver( pluginJar );

            ua.extract( resourcesPath, outputDirectory );
        }
        catch ( ArchiverException e )
        {
            throw new MojoExecutionException( "Error extracting resources from your Ant-based plugin.", e );
        }
View Full Code Here

    final ZipUnArchiver unarchiver = unzipperForMerge();
    unarchiver.setOverwrite(true);
    unarchiver.setSourceFile(a.getFile());
    unarchiver.setDestDirectory(destDirectory);
    unarchiver.extract();

    final DefaultFileSet files = new DefaultFileSet();
    files.setDirectory(destDirectory);
    return files;
  }
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.