Package org.jboss.maven.shared.file

Examples of org.jboss.maven.shared.file.DirectoryCopier


  }

  private void copySource(File sourceDirectory, File targetDirectory) throws MojoExecutionException {
    getLog().info( "attempting to copy directory : " + sourceDirectory.getAbsolutePath() );
    try {
      new DirectoryCopier( sourceDirectory ).copyTo( targetDirectory );
    }
    catch ( IOException e ) {
      throw new MojoExecutionException( "Unable to copy directory [" + sourceDirectory + "]", e );
    }
  }
View Full Code Here

TOP

Related Classes of org.jboss.maven.shared.file.DirectoryCopier

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.