org.apache.tools.ant.helper
Class ProjectHelper2
public class ProjectHelper2
Sax2 based project reader
addLocationToBuildException , addText , addText , configure , configureProject , extractNameFromComponentName , extractUriFromComponentName , genComponentName , getContextClassLoader , getImportStack , getProjectHelper , parse , parsePropertyString , replaceProperties , replaceProperties , storeChild |
parse
public void parse(Project project,
Object source,
ProjectHelper2.RootHandler handler)
throws BuildException
Parses the project file, configuring the project as it goes.
project
- the current projectsource
- the xml sourcehandler
- the root handler to use (contains the current context)
BuildException
- if the configuration is invalid or cannot
be read
parseUnknownElement
public UnknownElement parseUnknownElement(Project project,
URL source)
throws BuildException
Parse an unknown element from a url
project
- the current projectsource
- the url containing the task
- a configured task
BuildException
- if an error occurs
Copyright B) 2000-2005 Apache Software Foundation. All Rights Reserved.