net.sourceforge.cvsgrab
Class CVSGrabTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by net.sourceforge.cvsgrab.CVSGrabTask

public class CVSGrabTask
extends org.apache.tools.ant.Task

Ant task for CVSGrab.

Version:
1.0
Author:
Ludovic Claude
Created:
April 19, 2002

Field Summary
 
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
CVSGrabTask()
          Constructor for the CVSGrabTask object
 
Method Summary
 WebOptions.HttpProxy createProxy()
          Create the nested element for configuring the proxy
 WebOptions.WebAuthentification createWeb()
          Create the nested element for configuring the web authentification
 void execute()
          Execute the task
 void setCleanUpdate(boolean value)
          Sets the clean update
 void setConnections(int connections)
          Sets the number of simultaneous connections to open
 void setCvsRoot(String value)
          Sets the cvs root attribute
 void setDestDir(String value)
          Sets the dest dir attribute
 void setPackageDir(String value)
          Sets the package dir attribute
 void setPackagePath(String value)
          Sets the package path attribute
 void setProjectRoot(String value)
           
 void setPruneEmptyDirs(boolean value)
          Sets the prune empty dirs
 void setRootUrl(String value)
          Sets the root url attribute
 void setTag(String value)
          Sets the tag attribute
 void setUrl(String value)
          Sets the url attribute
 void setVerbose(boolean value)
          Sets the verbose attribute
 void setWebInterface(String value)
           
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
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
 

Constructor Detail

CVSGrabTask

public CVSGrabTask()
Constructor for the CVSGrabTask object

Method Detail

setUrl

public void setUrl(String value)
Sets the url attribute

Parameters:
value - The new rootUrl value

setRootUrl

public void setRootUrl(String value)
Sets the root url attribute

Parameters:
value - The new rootUrl value

setPackagePath

public void setPackagePath(String value)
Sets the package path attribute

Parameters:
value - The new package value

setProjectRoot

public void setProjectRoot(String value)

setDestDir

public void setDestDir(String value)
Sets the dest dir attribute

Parameters:
value - The new destDir value

setPackageDir

public void setPackageDir(String value)
Sets the package dir attribute

Parameters:
value - The new package value

setCvsRoot

public void setCvsRoot(String value)
Sets the cvs root attribute

Parameters:
value - The new cvsRoot value

setTag

public void setTag(String value)
Sets the tag attribute

Parameters:
value - The new tag value

setWebInterface

public void setWebInterface(String value)

setVerbose

public void setVerbose(boolean value)
Sets the verbose attribute

Parameters:
value - The new verbose value

setPruneEmptyDirs

public void setPruneEmptyDirs(boolean value)
Sets the prune empty dirs

Parameters:
value - The new pruneEmptyDirs value

setCleanUpdate

public void setCleanUpdate(boolean value)
Sets the clean update

Parameters:
value - The new cleanUpdate value

setConnections

public void setConnections(int connections)
Sets the number of simultaneous connections to open

Parameters:
connections - The connections to set.

createProxy

public WebOptions.HttpProxy createProxy()
Create the nested element for configuring the proxy

Returns:
the nested element for the proxy

createWeb

public WebOptions.WebAuthentification createWeb()
Create the nested element for configuring the web authentification

Returns:
the nested element for the web

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Execute the task

Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException - when an error occured in the build


Copyright © 2002-2005 Ludovic Claude. All Rights Reserved.