CloneSet27


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
20530.955statement_sequence[7]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12037
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/vss/MSVSSCHECKIN.java
22038
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/vss/MSVSSCHECKOUT.java
32037
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/vss/MSVSSCP.java
42136
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/vss/MSVSSCREATE.java
52040
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/vss/MSVSSHISTORY.java
Next
Last
Clone Instance
1
Line Count
20
Source Line
37
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/vss/MSVSSCHECKIN.java

Commandline commandLine = new Commandline();
// first off, make sure that we've got a command and a vssdir ...
if (getVsspath() == null) {
  String msg = "vsspath attribute must be set!";
  throw new BuildException(msg, getLocation());
}
// build the command line from what we got the format is
// ss Checkin VSS items [-H] [-C] [-I-] [-N] [-O] [-R] [-W] [-Y] [-?]
// as specified in the SS.EXE help
commandLine.setExecutable(getSSCommand());
commandLine.createArgument().setValue(COMMAND_CHECKIN);
// VSS items
commandLine.createArgument().setValue(getVsspath());
// -GL
commandLine.createArgument().setValue(getLocalpath());
// -I- or -I-Y or -I-N
commandLine.createArgument().setValue(getAutoresponse());


Next
Previous
Clone Instance
2
Line Count
20
Source Line
38
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/vss/MSVSSCHECKOUT.java

Commandline commandLine = new Commandline();
// first off, make sure that we've got a command and a vssdir ...
if (getVsspath() == null) {
  String msg = "vsspath attribute must be set!";
  throw new BuildException(msg, getLocation());
}
// build the command line from what we got the format is
// ss Checkout VSS items [-G] [-C] [-H] [-I-] [-N] [-O] [-R] [-V] [-Y] [-?]
// as specified in the SS.EXE help
commandLine.setExecutable(getSSCommand());
commandLine.createArgument().setValue(COMMAND_CHECKOUT);
// VSS items
commandLine.createArgument().setValue(getVsspath());
// -GL
commandLine.createArgument().setValue(getLocalpath());
// -I- or -I-Y or -I-N
commandLine.createArgument().setValue(getAutoresponse());


Next
Previous
Clone Instance
3
Line Count
20
Source Line
37
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/vss/MSVSSCP.java

Commandline commandLine = new Commandline();
// first off, make sure that we've got a command and a vssdir ...
if (getVsspath() == null) {
  String msg = "vsspath attribute must be set!";
  throw new BuildException(msg, getLocation());
}
// build the command line from what we got the format is
// ss CP VSS items [-H] [-I-] [-Y] [-?]
// as specified in the SS.EXE help
commandLine.setExecutable(getSSCommand());
commandLine.createArgument().setValue(COMMAND_CP);
// VSS items
commandLine.createArgument().setValue(getVsspath());
// -I- or -I-Y or -I-N
commandLine.createArgument().setValue(getAutoresponse());
// -Y
commandLine.createArgument().setValue(getLogin());


Next
Previous
Clone Instance
4
Line Count
21
Source Line
36
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/vss/MSVSSCREATE.java

Commandline commandLine = new Commandline();
// first off, make sure that we've got a command and a vssdir...
if (getVsspath() == null) {
  String msg = "vsspath attribute must be set!";
  throw new BuildException(msg, getLocation());
}
// build the command line from what we got
// the format is:
// ss Create VSS items [-C] [-H] [-I-] [-N] [-O] [-S] [-Y] [-?]
// as specified in the SS.EXE help
commandLine.setExecutable(getSSCommand());
commandLine.createArgument().setValue(COMMAND_CREATE);
// VSS items
commandLine.createArgument().setValue(getVsspath());
// -C
commandLine.createArgument().setValue(getComment());
// -I- or -I-Y or -I-N
commandLine.createArgument().setValue(getAutoresponse());


First
Previous
Clone Instance
5
Line Count
20
Source Line
40
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/vss/MSVSSHISTORY.java

Commandline commandLine = new Commandline();
// first off, make sure that we've got a command and a vssdir and a label ...
if (getVsspath() == null) {
  String msg = "vsspath attribute must be set!";
  throw new BuildException(msg, getLocation());
}
// build the command line from what we got the format is
// ss History elements [-H] [-L] [-N] [-O] [-V] [-Y] [-#] [-?]
// as specified in the SS.EXE help
commandLine.setExecutable(getSSCommand());
commandLine.createArgument().setValue(COMMAND_HISTORY);
// VSS items
commandLine.createArgument().setValue(getVsspath());
// -I-
commandLine.createArgument().setValue(FLAG_AUTORESPONSE_DEF); // ignore all errors
// -Vd
commandLine.createArgument().setValue(getVersionDate());


Clone AbstractionParameter Count: 3Parameter Bindings

Commandline commandLine = new Commandline();
// first off, make sure that we've got a command and a vssdir ...
// first off, make sure that we've got a command and a vssdir...
// first off, make sure that we've got a command and a vssdir and a label ...
if (getVsspath() == null) {
  String msg = "vsspath attribute must be set!";
  throw new BuildException(msg, getLocation());
}
// build the command line from what we got the format is
// ss CP VSS items [-H] [-I-] [-Y] [-?]
// build the command line from what we got
// the format is:
// ss Create VSS items [-C] [-H] [-I-] [-N] [-O] [-S] [-Y] [-?]
// ss Checkin VSS items [-H] [-C] [-I-] [-N] [-O] [-R] [-W] [-Y] [-?]
// ss Checkout VSS items [-G] [-C] [-H] [-I-] [-N] [-O] [-R] [-V] [-Y] [-?]
// ss History elements [-H] [-L] [-N] [-O] [-V] [-Y] [-#] [-?]
// as specified in the SS.EXE help
commandLine.setExecutable(getSSCommand());
commandLine.createArgument().setValue( [[#variable11064400]]);
// VSS items
commandLine.createArgument().setValue(getVsspath());
// -I- or -I-Y or -I-N
// -C
// -GL
// -I-
commandLine.createArgument().setValue( [[#variable110654c0]]); // ignore all errors
// -Y
// -I- or -I-Y or -I-N
// -Vd
commandLine.createArgument().setValue( [[#variable11065460]]());
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#11064400]]
COMMAND_CHECKIN 
12[[#11064400]]
COMMAND_CHECKOUT 
13[[#11064400]]
COMMAND_CP 
14[[#11064400]]
COMMAND_CREATE 
15[[#11064400]]
COMMAND_HISTORY 
21[[#110654c0]]
getLocalpath() 
22[[#110654c0]]
getLocalpath() 
23[[#110654c0]]
getAutoresponse() 
24[[#110654c0]]
getComment() 
25[[#110654c0]]
FLAG_AUTORESPONSE_DEF 
31[[#11065460]]
getAutoresponse 
32[[#11065460]]
getAutoresponse 
33[[#11065460]]
getLogin 
34[[#11065460]]
getAutoresponse 
35[[#11065460]]
getVersionDate