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 23272] New: - CVS task over ssh blocks execution
Date Fri, 19 Sep 2003 13:39:55 GMT
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=23272>.
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=23272

CVS task over ssh blocks execution

           Summary: CVS task over ssh blocks execution
           Product: Ant
           Version: 1.5.3
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: d.neary@phenix.fr


Hi,

Attaching a bunch of stuff to help reproduce this...

When I use ant to run a number of checkouts and build tasks, all is well on
linux (as usual), but on windows, the cvs tasks seem to block the operation of
the rest of the target.

What I mean by that is, when using the ext access method in CVS, with plink as
the ssh bridge, with this very simple build.xml (attached as well for easy
downloading):

<?xml version="1.0"?>
<project name="Break stuff" default="all" basedir=".">
  <description>ANT file showing problems with ant/wincvs/plink</description>

  <property environment="env"/>

  <target name="all">
    <!-- Initialisation = checkout module binaries -->
    <cvs cvsRoot="${env.CVSROOT}"
        cvsRsh="${env.CVS_RSH}"
        package="test1"/>
    <cvs cvsRoot="${env.CVSROOT}"
        cvsRsh="${env.CVS_RSH}"
        package="test2"/>
  </target>

</project>

I get the following result:
C:\java\build_env>ant -f build_test.xml
Buildfile: build_test.xml

all:
      [cvs] cvs server: Updating test1
      [cvs] U test1/a


And after several minutes, I kill the ant instance.

Relevant environment variables, for information:
CVSROOT=:ext:user@server:/path/to/repos
CVS_RSH=plink

ANT_HOME, JAVA_HOME et al are all set to reasonable values.

I am also attaching the tarred up repository I was using. You will see it really
is just a dummy CVS repository. This script runs as expected (that is, both
checkouts proceed to completion, and we get the command line back) on Linux.
Also, when run from the command line, the cvs co test1 and tes2 work fine, and
return control to the command line when finished. 

I will attach some more verbose output with cvs -t and ant -v in a minute.

Thanks,
Dave.

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


Mime
View raw message