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

Constructor Summary
ProjectHelper()
           
 
Method Summary
static void configureProject(Project project, java.io.File buildFile)
           
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
 

Constructor Detail

ProjectHelper

public ProjectHelper()
Method Detail

configureProject

public static void configureProject(Project project,
                                    java.io.File buildFile)
                             throws BuildException

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.