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 30101] New: - cvs 1.12.9 proxy settings not honored
Date Wed, 14 Jul 2004 12:47:14 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=30101>.
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=30101

cvs 1.12.9 proxy settings not honored

           Summary: cvs 1.12.9 proxy settings not honored
           Product: Ant
           Version: 1.6.0
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Build Process
        AssignedTo: dev@ant.apache.org
        ReportedBy: m.fisher@philips.com


Hi,

I'm trying to build tomcat 5 with ant, but the cvs checkout is failing with the
following error:
> ant checkout

checkout:
     [echo] If the checkout fails, run `cvs -d
:pserver;proxy=130.144.19.71;proxyport=8080:anoncvs@cvs.apache.org:/home/cvspublic
login` and try again. The password for the anonymous CVS access is `anoncvs`
      [cvs] Using cvs passfile: C:\cygwin\home\markf\.cvspass
      [cvs] Caught exception: CreateProcess: cvs
-d:pserver;proxy=130.144.19.71;proxyport=8080:anoncvs@cvs.apache.org:/home/cvspublic
-q -z3 checkout -P jakarta-tomcat-5 error=2
... etc ...
- - - -

I've temporarily fixed it by using cvsgrab, but as cvs 1.12.9 supports proxies,
why isn't this working "out of the box"?

i can login to the cvs server with
#!/bin/bash
export
CVSROOT=':pserver;proxy=130.144.19.71;proxyport=8080:anoncvs@cvs.apache.org:/home/cvspublic'

# password is "anoncvs"
cvs -d ${CVSROOT} login

and i've updated the build.xml file with
<property name="cvsroot"
value=":pserver;proxy=130.144.19.71;proxyport=8080:anoncvs@cvs.apache.org:/home/cvspublic"
/>

but it still doesn't work.
I've tried all combinations of ' " \' '' '" "'
but the quotes always disappear when I do "ant -v checkout" :

... prefill ...
      [cvs]     _=/c/java/apache-ant-1.6.1/bin/ant
      [cvs]     CVS_PASSFILE=C:\cygwin\home\markf\.cvspass
      [cvs] Caught exception: CreateProcess: cvs
-d:pserver;proxy=130.144.19.71;proxyport=8080:anoncvs@cvs.apache.org:/home/cvspublic
-q -z3 checkout -P jakarta-servletapi-5 error=2

I notice (and this may be part of the problem) that after logging in using cvs
login, an entry without the cvs proxy/port settings appears in my .cvspass.

I'm also wondering if the semi-colon is breaking the CreateProcess, if I could
put quotes around the -d arg, I could at least test this theory.

I couldn't find a bug for this, and was wondering if anyone has a solution or
can confirm the bug.

Thanks in advance for any help

Mark Fisher

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


Mime
View raw message