ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Kuhn <bnk...@gmail.com>
Subject cvs task behind a firewall
Date Mon, 20 Dec 2004 20:41:43 GMT
Does anyone know if it's possible to get Ant's cvs task to use a
proxy?  I'm behind a corporate firewall.  I've gotten Maven to use my
proxy to download dependencies, but for some reason it doesn't pass
the proxy configuration on to Ant's cvs task.  I assume this is
because it's not possible.  Can I get Maven to use CvsGrab instead?

Thanks,
     Brian Kuhn

ps - Sorry this is a little off topic.  I'm trying to avoid
subscribing to Maven's mailing list...

Here's my command line:
maven scm:checkout-project
   -Dmaven.scm.method=cvs
   -Dmaven.scm.cvs.module=acegisecurity
   -Dmaven.scm.cvs.root=:pserver:anonymous@cvs.sourceforge.net:/cvsroot/acegisecurity
   -Dmaven.scm.checkout.dir=acegisecurity -Dmaven.proxy.host=my.proxyhost.com
   -Dmaven.proxy.port=80

This is the response I'm getting:
scm:cvs-checkout-project:
   [echo] Checking out acegisecurity; from CVSROOT:
:pserver:anonymous@cvs.sourceforge.net:/cvsroot/acegisecurity
   [mkdir] Created dir: C:\Documents and
Settings\00a3068\Desktop\acegisecurity\acegisecurity\acegisecurity
   [cvs] Unknown host cvs.sourceforge.net.

BUILD FAILED
File...... C:\Documents and
Settings\00a3068\.maven\cache\maven-scm-plugin-1.4.1\plugin.jelly
Element... ant:cvs
Line...... 245
Column.... 9
cvs exited with error code 1
Command line was [Executing 'cvs' with arguments:
'-d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/acegisecurity'
'-q'
'checkout'
'-P'
'acegisecurity'

The ' characters around the executable and arguments are
not part of the command.
]
Total time: 44 seconds
Finished at: Mon Dec 20 11:30:24 PST 2004

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


Mime
View raw message