public class AntUtil extends Object
Constructor and Description |
---|
AntUtil() |
Modifier and Type | Method and Description |
---|---|
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.
|
public static void copyProperties(org.apache.tools.ant.Project fromProject, org.apache.tools.ant.Project toProject)
fromProject
- copy fromtoProject
- copy topublic 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 addedpublic static void copyReferences(org.apache.tools.ant.Project fromProject, org.apache.tools.ant.Project toProject)
fromProject
- toProject
- Copyright © 2002-2012 Apache Software Foundation. All Rights Reserved.