net.sweetohm.ant.server.command
Class Target

java.lang.Object
  extended by net.sweetohm.ant.server.command.Target

public class Target
extends java.lang.Object

Class to handle target requests.

Version:
1.0
Author:
Michel CASABIANCA

Constructor Summary
Target()
           
 
Method Summary
static void execute(java.util.List args, org.apache.tools.ant.Project project, java.io.Writer out)
          Execute the command.
(package private) static org.apache.tools.ant.BuildListener removeLogger(org.apache.tools.ant.Project project)
          Remove and return the default logger of the project.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Target

public Target()
Method Detail

execute

public static void execute(java.util.List args,
                           org.apache.tools.ant.Project project,
                           java.io.Writer out)
                    throws java.io.IOException
Execute the command.

Parameters:
args - The command arguments as a List.
project - The Ant Project.
out - The Writer to print on.
Throws:
java.io.IOException

removeLogger

static org.apache.tools.ant.BuildListener removeLogger(org.apache.tools.ant.Project project)
Remove and return the default logger of the project.

Parameters:
project - The running project.