net.sf.xsltmp.util
Class AddSourcesUtils

java.lang.Object
  extended by net.sf.xsltmp.util.AddSourcesUtils

public class AddSourcesUtils
extends Object

Utility methods for adding directories to sources and resources.


Constructor Summary
AddSourcesUtils(org.apache.maven.project.MavenProject project, org.apache.maven.plugin.logging.Log log)
          Default constructor.
 
Method Summary
 void addResources(String addTo, File dir)
          Add a directory to project resources.
 void addSources(String addTo, File dir)
          Add a directory to project sources.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddSourcesUtils

public AddSourcesUtils(org.apache.maven.project.MavenProject project,
                       org.apache.maven.plugin.logging.Log log)
Default constructor.

Parameters:
project -
log -
Method Detail

addSources

public void addSources(String addTo,
                       File dir)
Add a directory to project sources.

Parameters:
addTo - Add to sources or test-sources.
dir - Directory to add

addResources

public void addResources(String addTo,
                         File dir)
Add a directory to project resources.

Parameters:
addTo - Add to resources or test-resources.
dir - Directory to add


Copyright © 2008-2013 Lastware, sro.. All Rights Reserved.