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





------- Additional Comments From [EMAIL PROTECTED]  2003-09-19 14:35 -------

With a local CVSROOT, there are no issues.

Attached is a run of ant -f build_test.xml -v with CVSROOT=c:\java\cvs. CVS was
run with "cvs -t".

C:\java\build_env>ant -v -f build_test.xml
Apache Ant version 1.5.3 compiled on April 16 2003
Buildfile: build_test.xml
Detected Java version: 1.3 in: c:\java\jdk1.3\jre
Detected OS: Windows 2000
parsing buildfile build_test.xml with URI = file:C:/java/build_env/build_test.xm
l
Project base dir set to: C:\java\build_env
 [property] Loading Environment env.
Build sequence for target `all' is [all]
Complete build sequence is [all]

all:
      [cvs] Executing 'cvs' with arguments:
      [cvs] '-dc:\java\cvs'
      [cvs] '-t'
      [cvs] 'co'
      [cvs] 'test1'
      [cvs]
      [cvs] The ' characters around the executable and arguments are
      [cvs] not part of the command.
      [cvs]
      [cvs]
      [cvs] environment:
<again, snipped lots of the environment>
      [cvs]
      [cvs]     ANT_CMD_LINE_ARGS=-v -f build_test.xml
      [cvs]     ANT_HOME=c:\java\apache-ant-1.5.3-1
      [cvs]     CVSROOT=c:\java\cvs
      [cvs]     JAVA_HOME=c:\java\jdk1.3
      [cvs]     OS=Windows_NT
      [cvs]  -> main loop with CVSROOT=c:\java\cvs
      [cvs]  -> do_module (test1, Updating, , )
      [cvs]  -> Create_Admin (., test1, c:\java\cvs/test1, , , 0, 0)
      [cvs]  -> unlink(./CVS/Tag)
      [cvs]  <- Create_Admin
      [cvs]  -> fopen(c:\java\cvs/CVSROOT/history,a)
      [cvs]  -> unlink(./CVS/Entries.Static)
      [cvs] cvs checkout: Updating test1
      [cvs]  -> unlink_file_dir(CVS/,,a)
      [cvs]  -> checkout (c:\java\cvs/test1/a,v, 1.1.1.1, , a)
      [cvs]  -> chmod(a,100666)
      [cvs] U test1/a
      [cvs]  -> Register(a, 1.1.1.1, Fri Sep 19 13:24:26 2003, ,  )
      [cvs]  -> rename(CVS/Entries.Backup,CVS/Entries)
      [cvs]  -> unlink(CVS/Entries.Log)
      [cvs] Executing 'cvs' with arguments:
      [cvs] '-dc:\java\cvs'
      [cvs] '-t'
      [cvs] 'co'
      [cvs] 'test2'
      [cvs]
      [cvs] The ' characters around the executable and arguments are
      [cvs] not part of the command.
      [cvs]
      [cvs]
      [cvs] environment:
      [cvs]
<and again, lots of snippage>
      [cvs]     ANT_CMD_LINE_ARGS=-v -f build_test.xml
      [cvs]     ANT_HOME=c:\java\apache-ant-1.5.3-1
      [cvs]     CVSROOT=c:\java\cvs
      [cvs]     JAVA_HOME=c:\java\jdk1.3
      [cvs]  -> main loop with CVSROOT=c:\java\cvs
      [cvs]  -> do_module (test2, Updating, , )
      [cvs]  -> Create_Admin (., test2, c:\java\cvs/test2, , , 0, 0)
      [cvs]  -> unlink(./CVS/Tag)
      [cvs]  <- Create_Admin
      [cvs]  -> fopen(c:\java\cvs/CVSROOT/history,a)
      [cvs]  -> unlink(./CVS/Entries.Static)
      [cvs] cvs checkout: Updating test2
      [cvs]  -> unlink_file_dir(CVS/,,b)
      [cvs]  -> checkout (c:\java\cvs/test2/b,v, 1.1.1.1, , b)
      [cvs]  -> chmod(b,100666)
      [cvs]  -> Register(b, 1.1.1.1, Fri Sep 19 13:24:34 2003, ,  )
      [cvs] U test2/b
      [cvs]  -> rename(CVS/Entries.Backup,CVS/Entries)
      [cvs]  -> unlink(CVS/Entries.Log)

BUILD SUCCESSFUL
Total time: 6 seconds

I believe this confirms that there is a problem in the CVS clients ssh handling.
 But again, when run from the command line, all works as expected, so perhaps
cvs is doing what it should, and ant is not correctly interpreting what's
happenning? I really don't know enough about it to say.

Any advice is appreciated. If this is definitely a CVS bug, then I will go fight
with them :)

Dave.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to