ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 31409] New: - Extend CvsVersion to support CVSNT
Date Fri, 24 Sep 2004 14:21:31 GMT
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: dev@ant.apache.org
        ReportedBy: andy.wood@ditg.tv


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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message