CVS 错误 - CVS 退出,错误代码为 1

发布于 2024-11-19 18:02:44 字数 3305 浏览 1 评论 0原文

我已经看到这个错误有一段时间了。 我在 CYGWIN 上运行 ant build,而 CYGWIN 又在 WindowsXP 上运行。

我发现的解决方案(不好的)是删除我的 gcct/first 目录并再次运行 ant build (从另一个目录运行)。它运行成功,但是如果我修改 gcct/first 下的一些代码,我不想因为这个错误而删除它。

我确实看到了这个链接。这里的解决方案不适用于我,因为我没有在 build.xml 中的任何位置定义 .cvspass。

C:\svn\CEL_v3681\buildCore.xml:1883: cvs exited with error code 1
Command line was [Executing 'cvs' with arguments:
'checkout'
'-A'
'-rfirst_v2_126'
'gcct/first'

The ' characters around the executable and arguments are
not part of the command.


environment:

        ALLUSERSPROFILE=C:\Documents and Settings\All Users
        ANT_HOME=C:/Apps/Apache/apache-ant-1.7.0
        APPDATA=C:\Documents and Settings\shankarc\Application Data
        CLASSPATH=./;C:/Program Files/Java/jre1.5.0_07/lib/ext/QTJava.zip
        COMMONPROGRAMFILES=C:\Program Files\Common Files
        COMPUTERNAME=NYKPWM2035798
        COMSPEC=C:\WINNT\system32\cmd.exe
        CUSTPROF=Roaming700Live
        CVSROOT=:pserver:[email protected]:/home/eqcvs/cmte
        CVS_RSH=/bin/ssh
        FP_NO_HOST_CHECK=NO
        HOME=C:\Apps\CYGWIN\home\shankarc
        HOMEDRIVE=F:
        HOMEPATH=\
        HOSTNAME=nykpwm2035798
        IDEA_PROPERTIES=C:\Documents and Settings\shankarc\idea.properties
        INFOPATH=/usr/local/info:/usr/share/info:/usr/info:
        JAVA_HOME=C:/Program Files/Java/jdk1.6.0_21/
        JDK_HOME=C:\Program Files\Java\jdk1.6.0_21\
        LOGONSERVER=\\NYKPSM00069
        MANPATH=/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man
        NUMBER_OF_PROCESSORS=2
        OS=Windows_NT
        PATH=C:\Apps\CYGWIN\usr\local\bin;C:\Apps\CYGWIN\bin;C:\Apps\CYGWIN\bin;C:\Apps\CYGWIN\usr\X11R6\bin;C:\Apps\Apache\apache-ant-1.7.0\bin;C:\Program Files\Java\jdk1.6.0_21\bin\;C:\Apps\CYGWIN\bin;C:\Program Files\VisualSVN Server\bin;C:\Program Files\Sudowin\Clients\Console;C:\Program Files\Fortify Software\Fortify 360 v2.5.0\bin
        PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.PSC1
        PRINTER=\\NYKPSM04020\NYKLPR1301-03-03C05
        PROCESSOR_ARCHITECTURE=x86
        PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 6, GenuineIntel
        PROCESSOR_LEVEL=6
        PROCESSOR_REVISION=0f06
        PROFGROUP=FONP
        PROGRAMFILES=C:\Program Files
        PROMPT=$P$G
        PWD=/cygdrive/c/svn/CEL_v3681/gcct/cel
        QHOME=c:\q
        QTJAVA=C:\Program Files\Java\jre1.5.0_07\lib\ext\QTJava.zip
        SESSIONNAME=Console
        SHLVL=1
        SITECODE=NYK
        SITEIDENT=NYK
        SVN_ASP_DOT_NET_HACK=1
        SYSTEMDRIVE=C:
        SYSTEMROOT=C:\WINNT
        TEMP=C:\TEMP
        TERM=cygwin
        TMP=C:\TEMP
        UATDATA=C:\WINNT\system32\CCM\UATData\D9F8C395-CAB8-491d-B8AC-179A1FE1BE77
        USER=shankarc
        USERDNSDOMAIN=INTRANET.BARCAPINT.COM
        USERDOMAIN=INTRANET
        USERNAME=shankarc
        USERPROFILE=C:\Documents and Settings\shankarc
        WINDIR=C:\WINNT
        CVS_PASSFILE=C:\Apps\CYGWIN\home\shankarc\.cvspass]

Total time: 58 seconds

我如何解决这个问题?

I am seeing this error for quite sometime now.
I am running ant build on CYGWIN which inturn runs on WindowsXP.

The resolution(bad one) I found was to delete my gcct/first directory and run ant build again (which runs from another directory). It runs successfully but if I modify some code under gcct/first, I do not want to delete it because of this error.

I did see this link. The resolution here does not apply to me since I do not have .cvspass defined anywhere in the build.xml.

C:\svn\CEL_v3681\buildCore.xml:1883: cvs exited with error code 1
Command line was [Executing 'cvs' with arguments:
'checkout'
'-A'
'-rfirst_v2_126'
'gcct/first'

The ' characters around the executable and arguments are
not part of the command.


environment:

        ALLUSERSPROFILE=C:\Documents and Settings\All Users
        ANT_HOME=C:/Apps/Apache/apache-ant-1.7.0
        APPDATA=C:\Documents and Settings\shankarc\Application Data
        CLASSPATH=./;C:/Program Files/Java/jre1.5.0_07/lib/ext/QTJava.zip
        COMMONPROGRAMFILES=C:\Program Files\Common Files
        COMPUTERNAME=NYKPWM2035798
        COMSPEC=C:\WINNT\system32\cmd.exe
        CUSTPROF=Roaming700Live
        CVSROOT=:pserver:[email protected]:/home/eqcvs/cmte
        CVS_RSH=/bin/ssh
        FP_NO_HOST_CHECK=NO
        HOME=C:\Apps\CYGWIN\home\shankarc
        HOMEDRIVE=F:
        HOMEPATH=\
        HOSTNAME=nykpwm2035798
        IDEA_PROPERTIES=C:\Documents and Settings\shankarc\idea.properties
        INFOPATH=/usr/local/info:/usr/share/info:/usr/info:
        JAVA_HOME=C:/Program Files/Java/jdk1.6.0_21/
        JDK_HOME=C:\Program Files\Java\jdk1.6.0_21\
        LOGONSERVER=\\NYKPSM00069
        MANPATH=/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man
        NUMBER_OF_PROCESSORS=2
        OS=Windows_NT
        PATH=C:\Apps\CYGWIN\usr\local\bin;C:\Apps\CYGWIN\bin;C:\Apps\CYGWIN\bin;C:\Apps\CYGWIN\usr\X11R6\bin;C:\Apps\Apache\apache-ant-1.7.0\bin;C:\Program Files\Java\jdk1.6.0_21\bin\;C:\Apps\CYGWIN\bin;C:\Program Files\VisualSVN Server\bin;C:\Program Files\Sudowin\Clients\Console;C:\Program Files\Fortify Software\Fortify 360 v2.5.0\bin
        PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.PSC1
        PRINTER=\\NYKPSM04020\NYKLPR1301-03-03C05
        PROCESSOR_ARCHITECTURE=x86
        PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 6, GenuineIntel
        PROCESSOR_LEVEL=6
        PROCESSOR_REVISION=0f06
        PROFGROUP=FONP
        PROGRAMFILES=C:\Program Files
        PROMPT=$P$G
        PWD=/cygdrive/c/svn/CEL_v3681/gcct/cel
        QHOME=c:\q
        QTJAVA=C:\Program Files\Java\jre1.5.0_07\lib\ext\QTJava.zip
        SESSIONNAME=Console
        SHLVL=1
        SITECODE=NYK
        SITEIDENT=NYK
        SVN_ASP_DOT_NET_HACK=1
        SYSTEMDRIVE=C:
        SYSTEMROOT=C:\WINNT
        TEMP=C:\TEMP
        TERM=cygwin
        TMP=C:\TEMP
        UATDATA=C:\WINNT\system32\CCM\UATData\D9F8C395-CAB8-491d-B8AC-179A1FE1BE77
        USER=shankarc
        USERDNSDOMAIN=INTRANET.BARCAPINT.COM
        USERDOMAIN=INTRANET
        USERNAME=shankarc
        USERPROFILE=C:\Documents and Settings\shankarc
        WINDIR=C:\WINNT
        CVS_PASSFILE=C:\Apps\CYGWIN\home\shankarc\.cvspass]

Total time: 58 seconds

How I resolve this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

潇烟暮雨 2024-11-26 18:02:44

我遇到了同样的问题,发现即使我没有使用 .cvspass 我确实有一个 cvs.pass 集的构建属性,需要将其重置为 OVERRIDE 才能运行,具体取决于您设置 cvs 访问的方式(尽管它看起来类似从你的帖子)。这需要在 build.properties 和 .build.properties 中进行更改。希望这有帮助!

I had the same issue and found that even though I was not using .cvspass I did have a build property of cvs.pass set which needed to be reset to OVERRIDE to function depending on how you set up your cvs access (though it looked similar from your post). This needed to be changed in build.properties and .build.properties. Hope this helps!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文