Home » maven-ant-tasks-2.1.0-src » org.apache.maven.artifact.ant.util » [javadoc | source]
public class: AntBuildWriter [javadoc | source]
Utility class for writing an Ant build file.
Field Summary
public static final  String DEFAULT_FILE_ENCODING     
protected static final  int DEFAULT_INDENTATION_SIZE    The default line indenter 
Method from org.apache.maven.artifact.ant.util.AntBuildWriter Summary:
closeAntBuild,   closeTarget,   openAntBuild,   openTarget,   writeEcho,   writeFileList,   writeFileSet,   writePath,   writeProperty
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.maven.artifact.ant.util.AntBuildWriter Detail:
 public  void closeAntBuild() throws IOException 
    Close the ant build writer
 public  void closeTarget() throws IOException 
    Close a tag.
 public  void openAntBuild(File dependenciesBuildFile,
    String name,
    String defaultTarget) throws IOException 
    Open an Ant build file for writing. Opens the file and prints the opening project tag.
 public  void openTarget(String targetName) throws IOException 
    Open a target tag
 public  void writeEcho(String message) 
    Write an Ant echo task
 public  void writeFileList(FileList fileList,
    String id) 
    Write an Ant file list
 public  void writeFileSet(FileSet fileSet,
    String id) 
    Write an Ant fileset
 public  void writePath(Path path,
    String pathId) 
    Write a path.
 public  void writeProperty(String name,
    String value) 
    Write an ant property