Save This Page
Home » maven-ant-tasks-2.1.0-src » org.apache.maven.artifact.ant.util » [javadoc | source]
org.apache.maven.artifact.ant.util
public class: AntUtil [javadoc | source]
java.lang.Object
   org.apache.maven.artifact.ant.util.AntUtil
Utility stuff for dealing with Ant.
Method from org.apache.maven.artifact.ant.util.AntUtil Summary:
copyProperties,   copyProperties,   copyReferences,   copyReferences
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.maven.artifact.ant.util.AntUtil Detail:
 public static  void copyProperties(Project fromProject,
    Project toProject) 
    Copies all properties from the given project to the new project - omitting those that have already been set in the new project as well as properties named basedir or ant.file.
 public static  void copyProperties(Hashtable props,
    Project project) 
    Copies all properties from the given table to the new project - omitting those that have already been set in the new project as well as properties named basedir or ant.file.
 public static  void copyReferences(Project fromProject,
    Project toProject) 
    Copy references from one project to another.
 public static  void copyReferences(Hashtable refs,
    Project project) 
    Copy references from a hashtable to a project. Will not overwrite existing references.