ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Ellsworth <>
Subject Has anyone gotten a cvs task to work on Windows?
Date Tue, 30 Oct 2001 20:47:52 GMT
Hi, all.

I am working towards making Cruise Control work, and am trying to write a 
cvs task to check our stuff out.

I have the following file:

<?xml version="1.0"?>
<project name="nightlybuild" default="build-debug" basedir=".">
   <property name="cvsroot" value=":pserver:dev@"/>
   <property name="cvspassword" value="secretpassword"/>

   <target name="modificationset">
     <modificationset lastbuild="${lastGoodBuildTime}"
       dateformat="yyyy-MMM-dd HH:mm:ss">
       <cvselement cvsroot="${cvsroot}" localworkingcopy="."/>

   <target name="init">
     <tstamp />

   <target name="cvs-checkout" depends="cvs-login">
     <cvs cvsRoot="${cvsroot}" package="com edu org template" />

   <target name="cvs-login">
     <cvspass cvsroot="${cvsroot}" password="${cvspassword}" />

(No, our password is not "secretpassword")

I have cvs and patch in my path, and if I do

cvs -d:pserver:dev@ co edu template

everything checks out happily enough.

If I do

ant cvs-checkout

I get the error

Total time: 1 second
C:\scott\cvs\Isis\test>ant -v cvs-checkout
Ant version 1.4.1 compiled on October 11 2001
Buildfile: build.xml
Detected Java version: 1.3 in: C:\java\jdk1.3.1\jre
Detected OS: Windows 2000
parsing buildfile C:\scott\cvs\Isis\test\build.xml with URI = 
Project base dir set to: C:\scott\cvs\Isis\test
Build sequence for target `cvs-checkout' is [cvs-login, cvs-checkout]
Complete build sequence is [cvs-login, cvs-checkout, modificationset, init, 
build-one-project, build-debug]


       [cvs] cvs [checkout aborted]: connect to failed: 
Can't ass
ign requested address

I am now at a bit of a loss on how to proceed.  Do I need to install any 
special libraries in the ant library directory, or something like that?

The cvs-login task did not make a difference. to the build.

Scott Ellsworth

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message