ant从CVS中checkout 程序模块报错
在执行 ant的时候老是报下面的错误
yxmis-check-out:
[delete] Deleting directory D:\tt\yxmis_zq
[cvs] Caught exception: CreateProcess: cvs -d:pserver:zxgscvs:@172.16.8.23
1:D:\yxmis checkout yxmis_zq error=2
build.xml 文件
<?xml version="1.0"?>
<project name="gnt Auto build" basedir="." default="build">
<!-- The CVSROOT value -->
<property name="cvsroot" value=":pserver:zxgscvs:@172.16.8.231:D:\yxmis"/>
<property name="cvs.password" value="zxgscvs"/>
<property name="yxmis_zq.dir" value="${basedir}/yxmis_zq"/>
<property name="yxmis_zq.module.name" value="yxmis_zq"/>
<!-- Initializing -->
<target name="init">
<tstamp>
<format property="today" pattern="yyyy-MM-dd hh:mm:ss"/>
</tstamp>
<echo message="${today}" />
</target>
<target name="prepare" depends="init" >
<cvspass cvsroot="${cvsroot}" password="${cvs.password}" passfile="ant-cvs.cvspass"/>
</target>
<!-- Retrieve the yxmis_zq module -->
<target name="yxmis-check-out" depends="prepare">
<delete dir="${yxmis_zq.module.name}"/>
<cvs cvsRoot="${cvsroot}" package="${yxmis_zq.module.name}"
passfile="ant-cvs.cvspass"
dest="${yxmis_zq.dir}"/>
</target>
<!-- cvs checkout -->
<target name="check-out">
<antcall target="yxmis-check-out" />
</target>
<target name="build">
<echo message="+=============================================+" />
<echo message="| Start Building GNT for compilation |" />
<echo message="+=============================================+" />
<!-- <antcall target="ywzcpt-build" /> -->
<antcall target="check-out" />
<echo message="+=============================================+" />
<echo message="| End Building GNT for compilation |" />
<echo message="+=============================================+" />
</target>
</project>