org.apache.tools.ant.taskdefs.optional.ccm
Class CCMReconfigure

java.lang.Object
  |
  +--org.apache.tools.ant.ProjectComponent
        |
        +--org.apache.tools.ant.Task
              |
              +--org.apache.tools.ant.taskdefs.optional.ccm.Continuus
                    |
                    +--org.apache.tools.ant.taskdefs.optional.ccm.CCMReconfigure

public class CCMReconfigure
extends Continuus

Task allows to reconfigure a project, recurcively or not

Author:
Benoit Moussaud benoit.moussaud@criltelecom.com

Field Summary
static java.lang.String FLAG_PROJECT
          /project flag -- target project
static java.lang.String FLAG_RECURSE
          /recurse --
static java.lang.String FLAG_VERBOSE
          /recurse --
 
Fields inherited from class org.apache.tools.ant.taskdefs.optional.ccm.Continuus
COMMAND_CHECKIN, COMMAND_CHECKOUT, COMMAND_CREATE_TASK, COMMAND_DEFAULT_TASK, COMMAND_RECONFIGURE
 
Fields inherited from class org.apache.tools.ant.Task
description, location, target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
CCMReconfigure()
           
 
Method Summary
 void execute()
          Executes the task.
 java.lang.String getCcmProject()
          Get the value of project.
 boolean isRecurse()
          Get the value of recurse.
 boolean isVerbose()
          Get the value of verbose.
 void setCcmProject(java.lang.String v)
          Set the value of project.
 void setRecurse(boolean v)
          Set the value of recurse.
 void setVerbose(boolean v)
          Set the value of verbose.
 
Methods inherited from class org.apache.tools.ant.taskdefs.optional.ccm.Continuus
getCcmAction, getCcmCommand, run, run, setCcmAction, setCcmDir
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FLAG_RECURSE

public static final java.lang.String FLAG_RECURSE
/recurse --

FLAG_VERBOSE

public static final java.lang.String FLAG_VERBOSE
/recurse --

FLAG_PROJECT

public static final java.lang.String FLAG_PROJECT
/project flag -- target project
Constructor Detail

CCMReconfigure

public CCMReconfigure()
Method Detail

execute

public void execute()
             throws BuildException
Executes the task.

Builds a command line to execute ccm and then calls Exec's run method to execute the command line.

Overrides:
execute in class Task
Following copied from class: org.apache.tools.ant.Task
Throws:
BuildException - if someting goes wrong with the build

getCcmProject

public java.lang.String getCcmProject()
Get the value of project.
Returns:
value of project.

setCcmProject

public void setCcmProject(java.lang.String v)
Set the value of project.
Parameters:
v - Value to assign to project.

isRecurse

public boolean isRecurse()
Get the value of recurse.
Returns:
value of recurse.

setRecurse

public void setRecurse(boolean v)
Set the value of recurse.
Parameters:
v - Value to assign to recurse.

isVerbose

public boolean isVerbose()
Get the value of verbose.
Returns:
value of verbose.

setVerbose

public void setVerbose(boolean v)
Set the value of verbose.
Parameters:
v - Value to assign to verbose.


Copyright © 1999-2001 Apache Software Foundation. All Rights Reserved.