org.codehaus.mojo.pluginsupport.ant
Class AntMojoSupport

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.pluginsupport.MojoSupport
          extended by org.codehaus.mojo.pluginsupport.ant.AntMojoSupport
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
Direct Known Subclasses:
JavaLauncherMojoSupport

Deprecated. Use the AntHelper component.

public abstract class AntMojoSupport
extends MojoSupport

Support for Ant-based Mojos.

Version:
$Id: AntMojoSupport.java 6588 2008-03-28 12:22:57Z bentmann $

Field Summary
protected  org.apache.tools.ant.Project ant
          Deprecated.  
 
Fields inherited from class org.codehaus.mojo.pluginsupport.MojoSupport
container, log
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AntMojoSupport()
          Deprecated.  
 
Method Summary
protected  org.apache.tools.ant.types.FileSet createFileSet()
          Deprecated.  
protected  org.apache.tools.ant.Task createTask(String name)
          Deprecated.  
protected  void inheritProperties()
          Deprecated.  
protected  void init()
          Deprecated. Initializes logging.
protected  void initAntLogger(org.apache.tools.ant.Project ant)
          Deprecated.  
protected  void mkdir(File dir)
          Deprecated.  
protected  void setProperty(String name, Object value)
          Deprecated.  
protected  void setSystemProperty(org.apache.tools.ant.taskdefs.Java java, String name, File value)
          Deprecated.  
protected  void setSystemProperty(org.apache.tools.ant.taskdefs.Java java, String name, String value)
          Deprecated.  
 
Methods inherited from class org.codehaus.mojo.pluginsupport.MojoSupport
contextualize, createArtifact, doExecute, execute, getArtifact, getArtifactFactory, getArtifactRepository, getArtifactResolver, getProject, getProjectArtifacts, getProjectArtifacts, getProjectArtifacts, resolveArtifact, resolveArtifact
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ant

protected org.apache.tools.ant.Project ant
Deprecated. 
Constructor Detail

AntMojoSupport

public AntMojoSupport()
Deprecated. 
Method Detail

init

protected void init()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Deprecated. 
Description copied from class: MojoSupport
Initializes logging. Called by MojoSupport.execute().

Overrides:
init in class MojoSupport
Throws:
org.apache.maven.plugin.MojoExecutionException - Initialization failed
org.apache.maven.plugin.MojoFailureException - Initialization failed

initAntLogger

protected void initAntLogger(org.apache.tools.ant.Project ant)
Deprecated. 

setProperty

protected void setProperty(String name,
                           Object value)
Deprecated. 

setSystemProperty

protected void setSystemProperty(org.apache.tools.ant.taskdefs.Java java,
                                 String name,
                                 String value)
Deprecated. 

setSystemProperty

protected void setSystemProperty(org.apache.tools.ant.taskdefs.Java java,
                                 String name,
                                 File value)
Deprecated. 

inheritProperties

protected void inheritProperties()
Deprecated. 

createFileSet

protected org.apache.tools.ant.types.FileSet createFileSet()
Deprecated. 

createTask

protected org.apache.tools.ant.Task createTask(String name)
                                        throws org.apache.tools.ant.BuildException
Deprecated. 
Throws:
org.apache.tools.ant.BuildException

mkdir

protected void mkdir(File dir)
Deprecated. 


Copyright © 2011 Codehaus. All Rights Reserved.