You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/11/06 12:01:52 UTC

DO NOT REPLY [Bug 24461] New: - Replacement properties with cvs tag

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=24461>.
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=24461

Replacement properties with cvs tag

           Summary: Replacement properties with cvs tag
           Product: Ant
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Build Process
        AssignedTo: dev@ant.apache.org
        ReportedBy: daniel_campelo@mail.pt


I'm tring to use the cvs tag to connect and retreave the files of a module from 
a repository. I'm using properties for the cvsRoot, passfile, package and so on.

The problem is that the value of those properties are currupted during the 
build.
  ex:
  - Define the property 'cvs.cvsroot'
    <property name="cvs.cvsroot" location=":pserver:user@1.1.1.1:/var/lib/cvs"/>

  - Use it after in the cvs tag on the attribute 'cvsRoot'
  During the build process the value is 'corrupted' where the value is set to 
the current path plus the original value and /CVSROOT:
  (ex:  C:/cvs_project/my-build/:pserver:user@1.1.1.1:/var/lib/cvs/CVSROOT: )

Tryed to use without the properties definition, by setting the values directly 
on the attributes and it worked perfectly.
  (ex : <cvs cvsRoot="=":pserver:user@1.1.1.1:/var/lib/cvs"> )

If you wish i may post the 'example' code.

By the way, tryed with the versions 1.5.1 and 1.5.4

Daniel Campelo

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