DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=30124>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=30124 port Attribute of <cvs> Task does not take custom Port Summary: port Attribute of <cvs> Task does not take custom Port Product: Ant Version: 1.6.1 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Enhancement Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I use Ant 1.6.1 for cvs checkout on Windows 2000 Prof. The CVS Server is configured to Port 30001. If 30001 is put to the port Attribute of the <cvs> Task, login to the CVS Server is just done with default port 2401, which then fails. With the following code change, the custom port was taken correctly: Class: org\apache\tools\ant\taskdefs\AbstractCvsTask.java, Method: protected void runCommand(...): Code Block: if (port > 0) { Environment.Variable var = new Environment.Variable(); var.setKey("CVS_CLIENT_PORT"); var.setValue(String.valueOf(port)); env.addVariable(var); // new code begin Environment.Variable var2 = new Environment.Variable(); var2.setKey("CVS_PSERVER_PORT"); var2.setValue(String.valueOf(port)); env.addVariable(var2); // new code end } I have downloaded the Source for Ant 1.6.2beta1, which has not included usage of the Environment Variable CVS_PSERVER_PORT. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]