我看到这个错误已经有一段时间了。我在CYGWIN上运行ant build,它在WindowsXP上运行。
我找到的解决方案(坏的一个)是删除我的gcct/first目录并再次运行ant build(从另一个目录运行)。它运行成功,但如果我先修改gcct/下的一些代码,我不想因为这个错误而删除它。
我确实看到了这个链接。这里的解决方案不适用于我,因为我没有在build.xml中任何地方定义.cvspass。
C:svnCEL_v3681buildCore.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 SettingsAll Users
ANT_HOME=C:/Apps/Apache/apache-ant-1.7.0
APPDATA=C:Documents and SettingsshankarcApplication Data
CLASSPATH=./;C:/Program Files/Java/jre1.5.0_07/lib/ext/QTJava.zip
COMMONPROGRAMFILES=C:Program FilesCommon Files
COMPUTERNAME=NYKPWM2035798
COMSPEC=C:WINNTsystem32cmd.exe
CUSTPROF=Roaming700Live
CVSROOT=:pserver:shankarc@amcvs2.lehman.com:/home/eqcvs/cmte
CVS_RSH=/bin/ssh
FP_NO_HOST_CHECK=NO
HOME=C:AppsCYGWINhomeshankarc
HOMEDRIVE=F:
HOMEPATH=
HOSTNAME=nykpwm2035798
IDEA_PROPERTIES=C:Documents and Settingsshankarcidea.properties
INFOPATH=/usr/local/info:/usr/share/info:/usr/info:
JAVA_HOME=C:/Program Files/Java/jdk1.6.0_21/
JDK_HOME=C:Program FilesJavajdk1.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:AppsCYGWINusrlocalbin;C:AppsCYGWINbin;C:AppsCYGWINbin;C:AppsCYGWINusrX11R6bin;C:AppsApacheapache-ant-1.7.0bin;C:Program FilesJavajdk1.6.0_21bin;C:AppsCYGWINbin;C:Program FilesVisualSVN Serverbin;C:Program FilesSudowinClientsConsole;C:Program FilesFortify SoftwareFortify 360 v2.5.0bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.PSC1
PRINTER=\NYKPSM04020NYKLPR1301-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 FilesJavajre1.5.0_07libextQTJava.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:WINNTsystem32CCMUATDataD9F8C395-CAB8-491d-B8AC-179A1FE1BE77
USER=shankarc
USERDNSDOMAIN=INTRANET.BARCAPINT.COM
USERDOMAIN=INTRANET
USERNAME=shankarc
USERPROFILE=C:Documents and Settingsshankarc
WINDIR=C:WINNT
CVS_PASSFILE=C:AppsCYGWINhomeshankarc.cvspass]
Total time: 58 seconds
如何解决这个问题?
我有同样的问题,发现即使我没有使用。cvspass,我确实有cvs的构建属性。pass设置,需要重置为OVERRIDE功能取决于你如何设置你的cvs访问(虽然它看起来类似于你的帖子)。这需要在构建中进行更改。Properties和.build. Properties。希望这对你有帮助!