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=31409>. 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=31409 Extend CvsVersion to support CVSNT Summary: Extend CvsVersion to support CVSNT Product: Ant Version: 1.6.2 Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When using CvsVersion with CVSNT, the version properties do not get set because CVSNT displays its version numbers as: Client: Concurrent Versions System (CVSNT) 2.0.4 (client/server) Which is not detected by the code that looks for just (CVS). Could CvsVersion be extended to support this by extracting the content of the parentheses and tacking it on to the end of the property value if it's not plain (CVS). So Client: Concurrent Versions System (CVSNT) 2.0.4 (client/server) Server: Concurrent Versions System (CVS) 1.11.1p1 (client/server) would return clientversionproperty=2.0.4 (CVSNT) serverversionproperty=1.11.1p1 respectively - this keeps existing behaviour exactly as is, but allows CVSNT to be supported too. Attached is a minor change to CvsVersion.execute() that does this. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]