org.apache.tools.ant
Class ProjectHelper

java.lang.Object
  |
  +--org.apache.tools.ant.ProjectHelper

public class ProjectHelper
extends java.lang.Object

Configures a Project (complete with Targets and Tasks) based on a XML build file.

Author:
duncan@x180.com

Method Summary
static void configureProject(Project project, java.io.File buildFile)
          Configures the Project with the contents of the specified XML file.
static java.lang.String replaceProperties(java.lang.String value, java.util.Hashtable keys)
          Replace ${NAME} with the property value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

configureProject

public static void configureProject(Project project,
                                    java.io.File buildFile)
                             throws BuildException
Configures the Project with the contents of the specified XML file.

replaceProperties

public static java.lang.String replaceProperties(java.lang.String value,
                                                 java.util.Hashtable keys)
                                          throws BuildException
Replace ${NAME} with the property value


Copyright © 2000 Apache Software Foundation. All Rights Reserved.