org.apache.tools.ant.taskdefs.cvslib
Class CvsVersion
- Cloneable
this task allows to find out the client and the server version of a
CVS installation
example usage :
<cvsversion
cvsRoot=":pserver:anoncvs@cvs.apache.org:/home/cvspublic"
passfile="c:/programme/cygwin/home/antoine/.cvspass"
clientversionproperty="apacheclient"
serverversionproperty="apacheserver" />
the task can be used also in the API by calling its execute method,
then calling getServerVersion and/or getClientVersion
addCommandArgument , addCommandArgument , addConfiguredCommandline , addConfiguredCommandline , configureCommandline , execute , getCommand , getCvsRoot , getCvsRsh , getDest , getErrorStream , getExecuteStreamHandler , getOutputStream , getPackage , getPassFile , getPort , getTag , removeCommandline , runCommand , setAppend , setCommand , setCompression , setCompressionLevel , setCvsRoot , setCvsRsh , setDate , setDest , setError , setErrorStream , setExecuteStreamHandler , setFailOnError , setNoexec , setOutput , setOutputStream , setPackage , setPassfile , setPort , setQuiet , setReallyquiet , setTag |
bindToOwner , execute , getOwningTarget , getRuntimeConfigurableWrapper , getTaskName , getTaskType , getWrapper , handleErrorFlush , handleErrorOutput , handleFlush , handleInput , handleOutput , init , isInvalid , log , log , log , log , maybeConfigure , perform , reconfigure , setOwningTarget , setRuntimeConfigurableWrapper , setTaskName , setTaskType |
getClientVersion
public String getClientVersion()
Get the CVS client version
getServerVersion
public String getServerVersion()
Get the CVS server version
setClientVersionProperty
public void setClientVersionProperty(String clientVersionProperty)
Set a property where to store the CVS client version
clientVersionProperty
- property for CVS client version
setServerVersionProperty
public void setServerVersionProperty(String serverVersionProperty)
Set a property where to store the CVS server version
serverVersionProperty
- property for CVS server version
supportsCvsLogWithSOption
public boolean supportsCvsLogWithSOption()
Find out if the server version supports log with S option
- boolean indicating if the server version supports log with S option