Top Description Fields Constructors Methods
org.apache.tools.ant.taskdefs.optional.vss

public Class MSVSSADD

extends MSVSS
Class Inheritance
Imports
org.apache.tools.ant.BuildException, org.apache.tools.ant.types.Commandline, .Path

Performs Add commands to Microsoft Visual SourceSafe.

Field Summary

Modifier and TypeField and Description
private String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected Commandline

Returns:

The constructed commandline.
buildCmdLine
()

Implements abstract org.apache.tools.ant.taskdefs.optional.vss.MSVSS.buildCmdLine.

Builds a command line to execute ss.
protected String

Returns:

The local path value.
getLocalpath
()

Overrides org.apache.tools.ant.taskdefs.optional.vss.MSVSS.getLocalpath.

Returns the local path without the flag.; required
public void
setAutoresponse(String
The auto response value.
response
)

Autoresponse behaviour.

public void
setComment(String
The comment to apply in SourceSafe
comment
)

Comment to apply to files added to SourceSafe.

public void
setLocalpath(Path
The path on disk.
localPath
)

Override the project working directory.

public void
setRecursive(boolean
The boolean value for recursive.
recursive
)

Add files recursively.

public final void
setWritable(boolean
The boolean value for writable.
writable
)

Unset the READ-ONLY flag on local copies of files added to VSS.

Inherited from org.apache.tools.ant.taskdefs.optional.vss.MSVSS:
executegetAutoresponsegetCommentgetFileTimeStampgetGetLocalCopygetLabelgetLogingetOutputgetQuietgetRecursivegetSSCommandgetStylegetUsergetVersiongetVersionDategetVersionDateLabelgetVersionLabelgetVsspathgetWritablegetWritableFilessetFailOnErrorsetInternalAutoResponsesetInternalCommentsetInternalDatesetInternalDateFormatsetInternalFailOnErrorsetInternalFileTimeStampsetInternalFromDatesetInternalFromLabelsetInternalGetLocalCopysetInternalLabelsetInternalLocalPathsetInternalNumDayssetInternalOutputFilenamesetInternalQuietsetInternalRecursivesetInternalStylesetInternalToDatesetInternalToLabelsetInternalUsersetInternalVersionsetInternalWritablesetInternalWritableFilessetLoginsetServerpathsetSsdirsetVsspath

Field Detail

localPathback to summary
private String localPath

Hides org.apache.tools.ant.taskdefs.optional.vss.MSVSS.localPath.

Constructor Detail

MSVSSADDback to summary
public MSVSSADD()

Method Detail

buildCmdLineback to summary
protected Commandline buildCmdLine()

Implements abstract org.apache.tools.ant.taskdefs.optional.vss.MSVSS.buildCmdLine.

Builds a command line to execute ss.

Returns:Commandline

The constructed commandline.

getLocalpathback to summary
protected String getLocalpath()

Overrides org.apache.tools.ant.taskdefs.optional.vss.MSVSS.getLocalpath.

Returns the local path without the flag.; required

Returns:String

The local path value.

setAutoresponseback to summary
public void setAutoresponse(String response)

Autoresponse behaviour. Valid options are Y and N.

Parameters
response:String

The auto response value.

setCommentback to summary
public void setComment(String comment)

Comment to apply to files added to SourceSafe.

Parameters
comment:String

The comment to apply in SourceSafe

setLocalpathback to summary
public void setLocalpath(Path localPath)

Override the project working directory.

Parameters
localPath:Path

The path on disk.

setRecursiveback to summary
public void setRecursive(boolean recursive)

Add files recursively. Defaults to false.

Parameters
recursive:boolean

The boolean value for recursive.

setWritableback to summary
public final void setWritable(boolean writable)

Unset the READ-ONLY flag on local copies of files added to VSS. Defaults to false.

Parameters
writable:boolean

The boolean value for writable.