Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/xml/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/search/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如果我的包/模块名有空格,如何在ant build.xml中的CVS任务中指定包/模块?_Xml_Ant_Cvs_Build.xml_Vcs Checkout - Fatal编程技术网

如果我的包/模块名有空格,如何在ant build.xml中的CVS任务中指定包/模块?

如果我的包/模块名有空格,如何在ant build.xml中的CVS任务中指定包/模块?,xml,ant,cvs,build.xml,vcs-checkout,Xml,Ant,Cvs,Build.xml,Vcs Checkout,在我的项目build.xml中,为了检查代码,我编写了以下内容: <cvs cvsRoot=":pserver:user@xx.xxx.xxx.xx:/CVSREPO_CCP_MIG" dest="${basedir}" package="My Test Project"/> 如果我使用模块名中没有空格的项目执行相同的签出,则代码签出成功 Ant版本是1.7.x.我通过将CVS任务标记修改为: <cvs cvsRoot=":pserver:user@xx.xxx.xx

在我的项目build.xml中,为了检查代码,我编写了以下内容:

    <cvs cvsRoot=":pserver:user@xx.xxx.xxx.xx:/CVSREPO_CCP_MIG" dest="${basedir}" package="My Test Project"/>
如果我使用模块名中没有空格的项目执行相同的签出,则代码签出成功


Ant版本是1.7.x.

我通过将CVS任务标记修改为:

<cvs cvsRoot=":pserver:user@xx.xxx.xxx.xx:/CVSREPO_CCP_MIG" dest="${basedir}" package="&quot;My Test Project&quot;"/>

现在它工作了

<cvs cvsRoot=":pserver:user@xx.xxx.xxx.xx:/CVSREPO_CCP_MIG" dest="${basedir}" package="&quot;My Test Project&quot;"/>