| anttasks.XConfToolTask
XConfToolTask | final public class XConfToolTask extends MatchingTask (Code) | | Ant task to patch xmlfiles.
replace-properties no|false,anything else
xpath: xpath expression for context node
unless-path: xpath expression that must return empty node set
unless: (deprecated) xpath expression that must return empty node set
if-prop: use path file only when project property is set
remove: xpath expression to remove before adding nodes
add-comments: if specified, overrides the ant task value
add-attribute: name of attribute to add to context node (requires value)
add-attribute-name: add attribute name with the specified value
value: value of attribute to add to context node (requires add-attribute)
insert-before: xpath expression, add new nodes before
insert-after: xpath expression, add new nodes after
author: Carsten Ziegeler author: Vadim Gritsenko author: Marcus Crafter author: Ovidiu Predescu author: Stephan Michels version: CVS $Id: XConfToolTask.java 433543 2006-08-22 06:22:54Z crossley $ |
addConfiguredXMLCatalog | public void addConfiguredXMLCatalog(XMLCatalog newXMLCatalog)(Code) | | Add the catalog to our internal catalog
Parameters: xmlCatalog - the XMLCatalog instance to use to look up DTDs |
execute | public void execute() throws BuildException(Code) | | Execute task.
|
init | public void init() throws BuildException(Code) | | Initialize internal instance of XMLCatalog
|
setAddComments | public void setAddComments(Boolean addComments)(Code) | | Whether to add a comment indicating where this block of code comes
from.
|
setFile | public void setFile(File file)(Code) | | Set file, which should be patched.
Parameters: file - File, which should be patched. |
setSrcdir | public void setSrcdir(File srcdir)(Code) | | Set base directory for the patch files.
Parameters: srcdir - Base directory for the patch files. |
|
|