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


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

Reply via email to