Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/ant/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
在AntXML文件中,hudsonenv.properties代表什么?_Xml_Ant_Build_Jenkins_Clearcase - Fatal编程技术网

在AntXML文件中,hudsonenv.properties代表什么?

在AntXML文件中,hudsonenv.properties代表什么?,xml,ant,build,jenkins,clearcase,Xml,Ant,Build,Jenkins,Clearcase,我是ANT的新手,我有一个XML文件,它有一些我不熟悉的属性 <property file="${env.CLEARCASE_VIEWPATH}/${vobtag}/${sub.vob.component}/hudsonenv.properties"/> <property name="filePath" value="/${env.CLEARCASE_VIEWPATH}/${vobtag}/${sub.vob.component}/hudsonenv.properties"/

我是ANT的新手,我有一个XML文件,它有一些我不熟悉的属性

<property file="${env.CLEARCASE_VIEWPATH}/${vobtag}/${sub.vob.component}/hudsonenv.properties"/>
<property name="filePath" value="/${env.CLEARCASE_VIEWPATH}/${vobtag}/${sub.vob.component}/hudsonenv.properties"/>
<echo>File Path: ${filePath}</echo>

如果有人能帮我解决这个问题,我将不胜感激。

据我所知,没有名为“hudsonenv.properties”的文件。它必须是某个人创建的自定义文件。使用属性文件指定属性名称及其对应的值是一种很好的做法。希望XML文件中有一个名为“property file”的字符串。比如:

<property file="build.properties"/>

如果它在那里,那么检查这个文件,您可能会发现在
echo
语句中打印的路径中设置了“hudsonenv.properties”

值是多少,或者哪个目录是
hudsonenv.properties

它位于
clearcase视图/vob/a组件/
hudsonenv.properties

这意味着,根据Jenkins/Hudson视图使用的配置规范,您可以在配置为加载(快照)或装载(动态)相同vob的视图中访问相同的文件

<property file="build.properties"/>