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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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:[EMAIL 
PROTECTED]:/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:[EMAIL 
PROTECTED]:/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:[EMAIL PROTECTED]:/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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to