Package org.codehaus.plexus.archiver.dir

Examples of org.codehaus.plexus.archiver.dir.DirectoryArchiver


     * @required
     */
    private File xarDirectory;
   
    public void execute() throws MojoExecutionException {
        Archiver archiver = new DirectoryArchiver();
        archiver.setDestFile(xarDirectory);
        try {
            buildArchive(archiver);
            archiver.createArchive();
        } catch (ArchiverException e) {
            throw new MojoExecutionException("Unable to build archive", e);
        } catch (IOException e) {
            throw new MojoExecutionException("Unable to build archive", e);
        }
View Full Code Here

TOP

Related Classes of org.codehaus.plexus.archiver.dir.DirectoryArchiver

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.