DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4871>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4871 the cvs task does not have a mechanism to set CVS_RSH ------- Additional Comments From [EMAIL PROTECTED] 2001-11-15 09:27 ------- easily done. here are the new patches. --- cvs.html.orig Thu Nov 15 08:26:10 2001 +++ cvs.html Thu Nov 15 08:26:47 2001 @@ -31,6 +31,11 @@ <td align="center" valign="top">No</td> </tr> <tr> + <td valign="top">cvsRsh</td> + <td valign="top">the CVS_RSH variable.</td> + <td align="center" valign="top">No</td> + </tr> + <tr> <td valign="top">dest</td> <td valign="top">the directory where the checked out files should be placed.</td> <td align="center" valign="top">No, default is project's basedir.</td> --- Cvs.java.orig Thu Nov 15 10:22:50 2001 +++ Cvs.java Thu Nov 15 10:22:52 2001 @@ -77,6 +77,11 @@ private String cvsRoot; /** + * the CVS_RSH variable. + */ + private String cvsRsh = null; + + /** * the package/module to check out. */ private String pack; @@ -172,6 +177,13 @@ env.addVariable(var); } + if(cvsRsh!=null){ + Environment.Variable var = new Environment.Variable(); + var.setKey("CVS_RSH"); + var.setValue(String.valueOf(cvsRsh)); + env.addVariable(var); + } + ExecuteStreamHandler streamhandler = null; OutputStream outputstream = null; OutputStream errorstream = null; @@ -241,6 +253,16 @@ } this.cvsRoot = root; + } + + public void setCvsRsh(String rsh) { + // Check if not real cvsrsh => set it to null + if (rsh != null) { + if (rsh.trim().equals("")) + rsh = null; + } + + this.cvsRsh = rsh; } public void setPort(int port){ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
