FAQ
Author: jkf
Date: Sat Sep 8 08:21:13 2007
New Revision: 573854

URL: http://svn.apache.org/viewvc?rev=573854&view=rev
Log:
Pr 43330, suppress printing of cvs password in case it is given on the command line.

Modified:
ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/AbstractCvsTask.java

Modified: ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/AbstractCvsTask.java
URL: http://svn.apache.org/viewvc/ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/AbstractCvsTask.java?rev=573854&r1=573853&r2=573854&view=diff
==============================================================================
--- ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/AbstractCvsTask.java (original)
+++ ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/AbstractCvsTask.java Sat Sep 8 08:21:13 2007
@@ -334,13 +334,11 @@

try {
String actualCommandLine = executeToString(exe);
-
-
-
+
log(actualCommandLine, Project.MSG_VERBOSE);
int retCode = exe.execute();
log("retCode=" + retCode, Project.MSG_DEBUG);
-
+
if (failOnError && Execute.isFailure(retCode)) {
throw new BuildException("cvs exited with error code "
+ retCode
@@ -458,7 +456,7 @@
}
return stringBuffer;
}
-
+
/**
* The CVSROOT variable.
*



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categoriesant
postedSep 8, '07 at 3:21p
activeSep 8, '07 at 3:21p
posts1
users1
websiteant.apache.org

1 user in discussion

Jkf: 1 post

People

Translate

site design / logo © 2018 Grokbase