|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.artifact.ant.util.AntUtil
public class AntUtil
Utility stuff for dealing with Ant.
| Constructor Summary | |
|---|---|
AntUtil()
|
|
| Method Summary | |
|---|---|
static void |
copyProperties(Hashtable<String,String> props,
org.apache.tools.ant.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. |
static void |
copyProperties(org.apache.tools.ant.Project fromProject,
org.apache.tools.ant.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. |
static void |
copyReferences(Hashtable<String,String> refs,
org.apache.tools.ant.Project project)
Copy references from a hashtable to a project. |
static void |
copyReferences(org.apache.tools.ant.Project fromProject,
org.apache.tools.ant.Project toProject)
Copy references from one project to another. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AntUtil()
| Method Detail |
|---|
public static void copyProperties(org.apache.tools.ant.Project fromProject,
org.apache.tools.ant.Project toProject)
fromProject - copy fromtoProject - copy to
public static void copyProperties(Hashtable<String,String> props,
org.apache.tools.ant.Project project)
props - properties Hashtable to copy to the new project.project - the project where the properties are added
public static void copyReferences(org.apache.tools.ant.Project fromProject,
org.apache.tools.ant.Project toProject)
fromProject - toProject -
public static void copyReferences(Hashtable<String,String> refs,
org.apache.tools.ant.Project project)
refs - project -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||